libcoap
4.3.5-develop-19cef11
coap_libcoap_build.h
Go to the documentation of this file.
1
/*
2
* coap_libcoap_build.h -- libcoap library build specifics
3
*
4
* Copyright (C) 2019-2024 Jon Shallow <supjps-libcoap@jpshallow.com>
5
*
6
* SPDX-License-Identifier: BSD-2-Clause
7
*
8
* This file is part of the CoAP library libcoap. Please see README for terms
9
* of use.
10
*/
11
12
/*
13
* All libcoap library files should include this file which then pulls in all
14
* of the other appropriate header files.
15
*
16
* Here can be added in specific checks to make sure that the libcoap library
17
* is built as expected.
18
*
19
* Note: This file should never be included in application code.
20
*/
21
27
#ifndef COAP_LIBCOAP_BUILD_H_
28
#define COAP_LIBCOAP_BUILD_H_
29
30
#include "coap_config.h"
31
32
/*
33
* This is here to to catch any code within libcoap that is not
34
* calling the _lkd version of the Public API function when
35
* compiling. This is to try and catch all the locking dead-locks.
36
*/
37
#if !defined(COAP_API)
38
# ifdef __GNUC__
39
# define COAP_API __attribute__((deprecated))
40
# else
/* __GNUC__ */
41
# define COAP_API
42
# endif
/* __GNUC__ */
43
#endif
44
45
#include "
coap_internal.h
"
46
47
#endif
/* COAP_LIBCOAP_BUILD_H_ */
coap_internal.h
Pulls together all the internal only header files.
libcoap
include
coap3
coap_libcoap_build.h
Generated on Tue Nov 12 2024 02:06:02 for libcoap by
1.9.4