libcoap  4.2.1
coap_internal.h
Go to the documentation of this file.
1 /*
2  * coap_internal.h -- Structures, Enums & Functions that are not exposed to
3  * application programming
4  *
5  * Copyright (C) 2019 Jon Shallow <supjps-libcoap@jpshallow.com>
6  *
7  * This file is part of the CoAP library libcoap. Please see README for terms
8  * of use.
9  */
10 
11 /*
12  * All libcoap library files should include this file which then pulls in all
13  * of the other appropriate header files.
14  *
15  * Note: This file should never be included in application code (with the
16  * possible exception of internal test suites).
17  */
18 
24 #ifndef COAP_INTERNAL_H_
25 #define COAP_INTERNAL_H_
26 
27 #include "coap_config.h"
28 
29 /*
30  * Correctly set up assert() based on NDEBUG for libcoap
31  */
32 #if defined(HAVE_ASSERT_H) && !defined(assert)
33 # include <assert.h>
34 #endif
35 
36 #include "coap.h"
37 
38 /*
39  * Include all the header files that are for internal use only.
40  */
41 
42 /* Not defined in coap.h - internal usage .h files */
43 #include "utlist.h"
44 #include "uthash.h"
45 #include "coap_hashkey.h"
46 #include "coap_mutex.h"
47 
48 /* Specifically defined internal .h files */
49 #include "coap_session_internal.h"
51 
52 #endif /* COAP_INTERNAL_H_ */
COAP subscribe internal information.
COAP session internal information.
definition of hash key type and helper functions
COAP mutex mechanism wrapper.