• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * coap_internal.h -- Structures, Enums & Functions that are not exposed to
3  * application programming
4  *
5  * Copyright (C) 2019-2021 Jon Shallow <supjps-libcoap@jpshallow.com>
6  *
7  * SPDX-License-Identifier: BSD-2-Clause
8  *
9  * This file is part of the CoAP library libcoap. Please see README for terms
10  * of use.
11  */
12 
13 /*
14  * All libcoap library files should include this file which then pulls in all
15  * of the other appropriate header files.
16  *
17  * Note: This file should never be included in application code (with the
18  * possible exception of internal test suites).
19  */
20 
21 /**
22  * @file coap_internal.h
23  * @brief Pulls together all the internal only header files
24  */
25 
26 #ifndef COAP_INTERNAL_H_
27 #define COAP_INTERNAL_H_
28 
29 #include "coap_config.h"
30 
31 /*
32  * Correctly set up assert() based on NDEBUG for libcoap
33  */
34 #if defined(HAVE_ASSERT_H) && !defined(assert)
35 # include <assert.h>
36 #endif
37 
38 #include "coap3/coap.h"
39 
40 /*
41  * Include all the header files that are for internal use only.
42  */
43 
44 /* Not defined in coap.h - internal usage .h files */
45 #include "utlist.h"
46 #include "uthash.h"
47 #include "coap_hashkey.h"
48 #include "coap_mutex.h"
49 
50 /* Specifically defined internal .h files */
51 #include "coap_asn1_internal.h"
52 #include "coap_async_internal.h"
53 #include "coap_block_internal.h"
54 #include "coap_cache_internal.h"
55 #include "coap_dtls_internal.h"
56 #include "coap_io_internal.h"
57 #include "coap_net_internal.h"
58 #include "coap_pdu_internal.h"
59 #include "coap_session_internal.h"
60 #include "coap_resource_internal.h"
61 #include "coap_session_internal.h"
62 #include "coap_subscribe_internal.h"
63 #include "coap_tcp_internal.h"
64 
65 #define COAP_INTERFACE_MAX 16
66 
67 #endif /* COAP_INTERNAL_H_ */
68