1c87c5fbaSopenharmony_ci#ifndef COAP_CONFIG_H_
2c87c5fbaSopenharmony_ci#define COAP_CONFIG_H_
3c87c5fbaSopenharmony_ci
4c87c5fbaSopenharmony_ci/* Define to 1 if libcoap supports client mode code. */
5c87c5fbaSopenharmony_ci#define COAP_CLIENT_SUPPORT 1
6c87c5fbaSopenharmony_ci
7c87c5fbaSopenharmony_ci/* Define to 1 if libcoap supports server mode code. */
8c87c5fbaSopenharmony_ci#define COAP_SERVER_SUPPORT 1
9c87c5fbaSopenharmony_ci
10c87c5fbaSopenharmony_ci/* Define to 1 if the system has small stack size. */
11c87c5fbaSopenharmony_ci#define COAP_CONSTRAINED_STACK 1
12c87c5fbaSopenharmony_ci
13c87c5fbaSopenharmony_ci/* Define to 1 to build without TCP support. */
14c87c5fbaSopenharmony_ci#define COAP_DISABLE_TCP 1
15c87c5fbaSopenharmony_ci
16c87c5fbaSopenharmony_ci/* Define to 1 to build support for IPv4 packets. */
17c87c5fbaSopenharmony_ci/* #undef COAP_IPV4_SUPPORT 1 */
18c87c5fbaSopenharmony_ci
19c87c5fbaSopenharmony_ci/* Define to 1 to build support for IPv6 packets. */
20c87c5fbaSopenharmony_ci#define COAP_IPV6_SUPPORT 1
21c87c5fbaSopenharmony_ci
22c87c5fbaSopenharmony_ci/* Define to 1 to build support for Unix socket packets. */
23c87c5fbaSopenharmony_ci/* #undef COAP_AF_UNIX_SUPPORT 1 */
24c87c5fbaSopenharmony_ci
25c87c5fbaSopenharmony_ci/* Define to 1 to build with support for async separate responses. */
26c87c5fbaSopenharmony_ci#define COAP_ASYNC_SUPPORT 1
27c87c5fbaSopenharmony_ci
28c87c5fbaSopenharmony_ci/* Define to 1 to build support for persisting observes. */
29c87c5fbaSopenharmony_ci/* #undef COAP_WITH_OBSERVE_PERSIST 1 */
30c87c5fbaSopenharmony_ci
31c87c5fbaSopenharmony_ci/* Define to 1 to build with WebSockets support. */
32c87c5fbaSopenharmony_ci/* #undef COAP_WS_SUPPORT 1 */
33c87c5fbaSopenharmony_ci
34c87c5fbaSopenharmony_ci/* Define to 1 to build with Q-Block (RFC9177) support. */
35c87c5fbaSopenharmony_ci/* #undef COAP_Q_BLOCK_SUPPORT 1 */
36c87c5fbaSopenharmony_ci
37c87c5fbaSopenharmony_ci/* Define to 1 if you have the <assert.h> header file. */
38c87c5fbaSopenharmony_ci#define HAVE_ASSERT_H 1
39c87c5fbaSopenharmony_ci
40c87c5fbaSopenharmony_ci/* Define to 1 if you have the <inttypes.h> header file. */
41c87c5fbaSopenharmony_ci#define HAVE_INTTYPES_H 1
42c87c5fbaSopenharmony_ci
43c87c5fbaSopenharmony_ci/* Define to 1 if you have the <errno.h> header file. */
44c87c5fbaSopenharmony_ci#define HAVE_ERRNO_H 1
45c87c5fbaSopenharmony_ci
46c87c5fbaSopenharmony_ci/* Define to 1 if you have the <limits.h> header file. */
47c87c5fbaSopenharmony_ci#define HAVE_LIMITS_H 1
48c87c5fbaSopenharmony_ci
49c87c5fbaSopenharmony_ci/* Define to 1 if you have the `memset' function. */
50c87c5fbaSopenharmony_ci#define HAVE_MEMSET 1
51c87c5fbaSopenharmony_ci
52c87c5fbaSopenharmony_ci/* Define to 1 if you have the <stddef.h> header file. */
53c87c5fbaSopenharmony_ci#define HAVE_STDDEF_H 1
54c87c5fbaSopenharmony_ci
55c87c5fbaSopenharmony_ci/* Define to 1 if you have the <stdint.h> header file. */
56c87c5fbaSopenharmony_ci#define HAVE_STDINT_H 1
57c87c5fbaSopenharmony_ci
58c87c5fbaSopenharmony_ci/* Define to 1 if you have the <stdlib.h> header file. */
59c87c5fbaSopenharmony_ci#define HAVE_STDLIB_H 1
60c87c5fbaSopenharmony_ci
61c87c5fbaSopenharmony_ci/* Define to 1 if you have the `strcasecmp' function. */
62c87c5fbaSopenharmony_ci#define HAVE_STRCASECMP 1
63c87c5fbaSopenharmony_ci
64c87c5fbaSopenharmony_ci/* Define to 1 if you have the <strings.h> header file. */
65c87c5fbaSopenharmony_ci#define HAVE_STRINGS_H 1
66c87c5fbaSopenharmony_ci
67c87c5fbaSopenharmony_ci/* Define to 1 if you have the <string.h> header file. */
68c87c5fbaSopenharmony_ci#define HAVE_STRING_H 1
69c87c5fbaSopenharmony_ci
70c87c5fbaSopenharmony_ci/* Define to 1 if you have the `strnlen' function. */
71c87c5fbaSopenharmony_ci#define HAVE_STRNLEN 1
72c87c5fbaSopenharmony_ci
73c87c5fbaSopenharmony_ci/* Define to 1 if you have the `strrchr' function. */
74c87c5fbaSopenharmony_ci#define HAVE_STRRCHR 1
75c87c5fbaSopenharmony_ci
76c87c5fbaSopenharmony_ci/* Define to 1 if you have the `snprintf' function. */
77c87c5fbaSopenharmony_ci#define HAVE_SNPRINTF 1
78c87c5fbaSopenharmony_ci
79c87c5fbaSopenharmony_ci/* Define to the address where bug reports for this package should be sent. */
80c87c5fbaSopenharmony_ci#define PACKAGE_BUGREPORT "libcoap-developers@lists.sourceforge.net"
81c87c5fbaSopenharmony_ci
82c87c5fbaSopenharmony_ci/* Define to the full name of this package. */
83c87c5fbaSopenharmony_ci#define PACKAGE_NAME "libcoap"
84c87c5fbaSopenharmony_ci
85c87c5fbaSopenharmony_ci/* Define to the full name and version of this package. */
86c87c5fbaSopenharmony_ci#define PACKAGE_STRING "libcoap 4.3.4"
87c87c5fbaSopenharmony_ci
88c87c5fbaSopenharmony_ci/* Define to the one symbol short name of this package. */
89c87c5fbaSopenharmony_ci#define PACKAGE_TARNAME "libcoap"
90c87c5fbaSopenharmony_ci
91c87c5fbaSopenharmony_ci/* Define to the home page for this package. */
92c87c5fbaSopenharmony_ci#define PACKAGE_URL "https://libcoap.net/"
93c87c5fbaSopenharmony_ci
94c87c5fbaSopenharmony_ci/* Define to the version of this package. */
95c87c5fbaSopenharmony_ci#define PACKAGE_VERSION "4.3.4"
96c87c5fbaSopenharmony_ci
97c87c5fbaSopenharmony_ci#define WITH_CONTIKI 1
98c87c5fbaSopenharmony_ci
99c87c5fbaSopenharmony_ci#define HASH_NONFATAL_OOM 1
100c87c5fbaSopenharmony_ci
101c87c5fbaSopenharmony_ci#ifndef HEAPMEM_CONF_ARENA_SIZE
102c87c5fbaSopenharmony_ci#define HEAPMEM_CONF_ARENA_SIZE 6144
103c87c5fbaSopenharmony_ci#endif
104c87c5fbaSopenharmony_ci
105c87c5fbaSopenharmony_ci#endif /* COAP_CONFIG_H_ */
106