coap_libcoap_build.h: Add in specific library build header

Gives the ability to add in additional library build checks through
the use of #define etc. that is not available to applications or
other host o/s support.

Preparatory work for further locking checks.
This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2024-05-20 15:39:40 +01:00
1 parent 485a7c4570
commit cbfb491b1d
44 files changed
+77 -42

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
/*
* coap_libcoap_build.h -- libcoap library build specifics
*
* Copyright (C) 2019-2024 Jon Shallow <supjps-libcoap@jpshallow.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*
* This file is part of the CoAP library libcoap. Please see README for terms
* of use.
*/
/*
* All libcoap library files should include this file which then pulls in all
* of the other appropriate header files.
*
* Here can be added in specific checks to make sure that the libcoap library
* is built as expected.
*
* Note: This file should never be included in application code.
*/
/**
* @file coap_libcoap_build.h
* @brief Library specific build wrapper for coap_internal.h
*/
#ifndef COAP_LIBCOAP_BUILD_H_
#define COAP_LIBCOAP_BUILD_H_
#include "coap_config.h"
#include "coap_internal.h"
#endif /* COAP_LIBCOAP_BUILD_H_ */