1c87c5fbaSopenharmony_ci/*
2c87c5fbaSopenharmony_ci * coap_config.h.riot -- RIOT configuration for libcoap
3c87c5fbaSopenharmony_ci *
4c87c5fbaSopenharmony_ci * Copyright (C) 2021-2023 Olaf Bergmann <bergmann@tzi.org> and others
5c87c5fbaSopenharmony_ci *
6c87c5fbaSopenharmony_ci * SPDX-License-Identifier: BSD-2-Clause
7c87c5fbaSopenharmony_ci *
8c87c5fbaSopenharmony_ci * This file is part of the CoAP library libcoap. Please see README for terms
9c87c5fbaSopenharmony_ci * of use.
10c87c5fbaSopenharmony_ci */
11c87c5fbaSopenharmony_ci
12c87c5fbaSopenharmony_ci#ifndef COAP_CONFIG_H_
13c87c5fbaSopenharmony_ci#define COAP_CONFIG_H_
14c87c5fbaSopenharmony_ci
15c87c5fbaSopenharmony_ci#define WITH_POSIX 1
16c87c5fbaSopenharmony_ci
17c87c5fbaSopenharmony_ci#ifndef COAP_CONSTRAINED_STACK
18c87c5fbaSopenharmony_ci#define COAP_CONSTRAINED_STACK 1
19c87c5fbaSopenharmony_ci#endif
20c87c5fbaSopenharmony_ci
21c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_LOGGING_LEVEL
22c87c5fbaSopenharmony_ci#ifndef COAP_MAX_LOGGING_LEVEL
23c87c5fbaSopenharmony_ci/* Define to 1 to build without TCP support. */
24c87c5fbaSopenharmony_ci#define COAP_MAX_LOGGING_LEVEL CONFIG_LIBCOAP_MAX_LOGGING_LEVEL
25c87c5fbaSopenharmony_ci#endif /* COAP_MAX_LOGGING_LEVEL */
26c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_LOGGING_LEVEL */
27c87c5fbaSopenharmony_ci
28c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_IPV4_SUPPORT
29c87c5fbaSopenharmony_ci#ifndef COAP_IPV4_SUPPORT
30c87c5fbaSopenharmony_ci/* Define to 1 to build with IPv4 support. */
31c87c5fbaSopenharmony_ci#define COAP_IPV4_SUPPORT 1
32c87c5fbaSopenharmony_ci#endif /* COAP_IPV4_SUPPORT */
33c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_IPV4_SUPPORT */
34c87c5fbaSopenharmony_ci
35c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_IPV6_SUPPORT
36c87c5fbaSopenharmony_ci#ifndef COAP_IPV6_SUPPORT
37c87c5fbaSopenharmony_ci/* Define to 1 to build with IPv6 support. */
38c87c5fbaSopenharmony_ci#define COAP_IPV6_SUPPORT 1
39c87c5fbaSopenharmony_ci#endif /* COAP_IPV6_SUPPORT */
40c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_IPV6_SUPPORT */
41c87c5fbaSopenharmony_ci
42c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_AF_UNIX_SUPPORT
43c87c5fbaSopenharmony_ci#ifndef COAP_AF_UNIX_SUPPORT
44c87c5fbaSopenharmony_ci/* Define to 1 to build with Unix socket support. */
45c87c5fbaSopenharmony_ci#define COAP_AF_UNIX_SUPPORT 1
46c87c5fbaSopenharmony_ci#endif /* COAP_AF_UNIX_SUPPORT */
47c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_AF_UNIX_SUPPORT */
48c87c5fbaSopenharmony_ci
49c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_TCP_SUPPORT
50c87c5fbaSopenharmony_ci#ifndef COAP_DISABLE_TCP
51c87c5fbaSopenharmony_ci/* Define to 1 to build without TCP support. */
52c87c5fbaSopenharmony_ci#define COAP_DISABLE_TCP 0
53c87c5fbaSopenharmony_ci#endif /* COAP_DISABLE_TCP */
54c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_TCP_SUPPORT */
55c87c5fbaSopenharmony_ci
56c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_OSCORE_SUPPORT
57c87c5fbaSopenharmony_ci#ifndef COAP_OSCORE_SUPPORT
58c87c5fbaSopenharmony_ci/* Define to 1 if the library has OSCORE support. */
59c87c5fbaSopenharmony_ci#define COAP_OSCORE_SUPPORT 1
60c87c5fbaSopenharmony_ci#endif /* COAP_OSCORE_SUPPORT */
61c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_OSCORE_SUPPORT */
62c87c5fbaSopenharmony_ci
63c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_WITH_OBSERVE_PERSIST
64c87c5fbaSopenharmony_ci#ifndef COAP_WITH_OBSERVE_PERSIST
65c87c5fbaSopenharmony_ci/* Define to 1 if the library has Observe persist support. */
66c87c5fbaSopenharmony_ci#define COAP_WITH_OBSERVE_PERSIST 0
67c87c5fbaSopenharmony_ci#endif /* COAP_WITH_OBSERVE_PERSIST */
68c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_WITH_OBSERVE_PERSIST */
69c87c5fbaSopenharmony_ci
70c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_WS_SUPPORT
71c87c5fbaSopenharmony_ci#ifndef COAP_WS_SUPPORT
72c87c5fbaSopenharmony_ci/* Define to 1 if the library has WebSockets support. */
73c87c5fbaSopenharmony_ci#define COAP_WS_SUPPORT 0
74c87c5fbaSopenharmony_ci#endif /* COAP_WS_SUPPORT */
75c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_WS_SUPPORT */
76c87c5fbaSopenharmony_ci
77c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_Q_BLOCK_SUPPORT
78c87c5fbaSopenharmony_ci#ifndef COAP_Q_BLOCK_SUPPORT
79c87c5fbaSopenharmony_ci/* Define to 1 to build with Q-Block (RFC9177) support. */
80c87c5fbaSopenharmony_ci#define COAP_Q_BLOCK_SUPPORT 0
81c87c5fbaSopenharmony_ci#endif /* COAP_Q_BLOCK_SUPPORT */
82c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_Q_BLOCK_SUPPORT */
83c87c5fbaSopenharmony_ci
84c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_CLIENT_SUPPORT
85c87c5fbaSopenharmony_ci#ifndef COAP_CLIENT_SUPPORT
86c87c5fbaSopenharmony_ci/* Define to 1 if the library has client support. */
87c87c5fbaSopenharmony_ci#define COAP_CLIENT_SUPPORT 1
88c87c5fbaSopenharmony_ci#endif /* COAP_CLIENT_SUPPORT */
89c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_CLIENT_SUPPORT */
90c87c5fbaSopenharmony_ci
91c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_SERVER_SUPPORT
92c87c5fbaSopenharmony_ci#ifndef COAP_SERVER_SUPPORT
93c87c5fbaSopenharmony_ci/* Define to 1 if the library has server support. */
94c87c5fbaSopenharmony_ci#define COAP_SERVER_SUPPORT 1
95c87c5fbaSopenharmony_ci#endif /* COAP_SERVER_SUPPORT */
96c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_SERVER_SUPPORT */
97c87c5fbaSopenharmony_ci
98c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_ASYNC_SUPPORT
99c87c5fbaSopenharmony_ci#ifndef COAP_ASYNC_SUPPORT
100c87c5fbaSopenharmony_ci/* Define to 1 to build with support for async separate responses. */
101c87c5fbaSopenharmony_ci#define COAP_ASYNC_SUPPORT 1
102c87c5fbaSopenharmony_ci#endif /* COAP_ASYNC_SUPPORT */
103c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_ASYNC_SUPPORT */
104c87c5fbaSopenharmony_ci
105c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_STRING_SIZE
106c87c5fbaSopenharmony_ci#ifndef COAP_MAX_STRING_SIZE
107c87c5fbaSopenharmony_ci#define COAP_MAX_STRING_SIZE CONFIG_LIBCOAP_MAX_STRING_SIZE
108c87c5fbaSopenharmony_ci#endif /* COAP_MAX_STRING_SIZE */
109c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_OSCORE_SUPPORT */
110c87c5fbaSopenharmony_ci
111c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_ENDPOINTS
112c87c5fbaSopenharmony_ci#ifndef COAP_MAX_ENDPOINTS
113c87c5fbaSopenharmony_ci#define COAP_MAX_ENDPOINTS CONFIG_LIBCOAP_MAX_ENDPOINTS
114c87c5fbaSopenharmony_ci#endif /* COAP_MAX_ENDPOINTS */
115c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_ENDPOINTS */
116c87c5fbaSopenharmony_ci
117c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_RESOURCES
118c87c5fbaSopenharmony_ci#ifndef COAP_MAX_RESOURCES
119c87c5fbaSopenharmony_ci#define COAP_MAX_RESOURCES CONFIG_LIBCOAP_MAX_RESOURCES
120c87c5fbaSopenharmony_ci#endif /* COAP_MAX_RESOURCES */
121c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_RESOURCES */
122c87c5fbaSopenharmony_ci
123c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_ATTRIBUTE_SIZE
124c87c5fbaSopenharmony_ci#ifndef COAP_MAX_ATTRIBUTE_SIZE
125c87c5fbaSopenharmony_ci#define COAP_MAX_ATTRIBUTE_SIZE CONFIG_LIBCOAP_MAX_ATTRIBUTE_SIZE
126c87c5fbaSopenharmony_ci#endif /* COAP_MAX_ATTRIBUTE_SIZE */
127c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_ATTRIBUTE_SIZE */
128c87c5fbaSopenharmony_ci
129c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_ATTRIBUTES
130c87c5fbaSopenharmony_ci#ifndef COAP_MAX_ATTRIBUTES
131c87c5fbaSopenharmony_ci#define COAP_MAX_ATTRIBUTES CONFIG_LIBCOAP_MAX_ATTRIBUTES
132c87c5fbaSopenharmony_ci#endif /* COAP_MAX_ATTRIBUTES */
133c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_ATTRIBUTES */
134c87c5fbaSopenharmony_ci
135c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_PACKETS
136c87c5fbaSopenharmony_ci#ifndef COAP_MAX_PACKETS
137c87c5fbaSopenharmony_ci#define COAP_MAX_PACKETS CONFIG_LIBCOAP_MAX_PACKETS
138c87c5fbaSopenharmony_ci#endif /* COAP_MAX_PACKETS */
139c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_PACKETS */
140c87c5fbaSopenharmony_ci
141c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_NODES
142c87c5fbaSopenharmony_ci#ifndef COAP_MAX_NODES
143c87c5fbaSopenharmony_ci#define COAP_MAX_NODES CONFIG_LIBCOAP_MAX_NODES
144c87c5fbaSopenharmony_ci#endif /* COAP_MAX_NODES */
145c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_NODES */
146c87c5fbaSopenharmony_ci
147c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_CONTEXTS
148c87c5fbaSopenharmony_ci#ifndef COAP_MAX_CONTEXTS
149c87c5fbaSopenharmony_ci#define COAP_MAX_CONTEXTS CONFIG_LIBCOAP_MAX_CONTEXTS
150c87c5fbaSopenharmony_ci#endif /* COAP_MAX_CONTEXTS */
151c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_CONTEXTS */
152c87c5fbaSopenharmony_ci
153c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_PDUS
154c87c5fbaSopenharmony_ci#ifndef COAP_MAX_PDUS
155c87c5fbaSopenharmony_ci#define COAP_MAX_PDUS CONFIG_LIBCOAP_MAX_PDUS
156c87c5fbaSopenharmony_ci#endif /* COAP_MAX_PDUS */
157c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_PDUS */
158c87c5fbaSopenharmony_ci
159c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_DTLS_SESSIONS
160c87c5fbaSopenharmony_ci#ifndef COAP_MAX_DTLS_SESSIONS
161c87c5fbaSopenharmony_ci#define COAP_MAX_DTLS_SESSIONS CONFIG_LIBCOAP_MAX_DTLS_SESSIONS
162c87c5fbaSopenharmony_ci#endif /* COAP_MAX_DTLS_SESSIONS */
163c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_DTLS_SESSIONS */
164c87c5fbaSopenharmony_ci
165c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_SESSIONS
166c87c5fbaSopenharmony_ci#ifndef COAP_MAX_SESSIONS
167c87c5fbaSopenharmony_ci#define COAP_MAX_SESSIONS CONFIG_LIBCOAP_MAX_SESSIONS
168c87c5fbaSopenharmony_ci#endif /* COAP_MAX_SESSIONS */
169c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_SESSIONS */
170c87c5fbaSopenharmony_ci
171c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_OPTION_SIZE
172c87c5fbaSopenharmony_ci#ifndef COAP_MAX_OPTION_SIZE
173c87c5fbaSopenharmony_ci#define COAP_MAX_OPTION_SIZE CONFIG_LIBCOAP_MAX_OPTION_SIZE
174c87c5fbaSopenharmony_ci#endif /* COAP_MAX_OPTION_SIZE */
175c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_OPTION_SIZE */
176c87c5fbaSopenharmony_ci
177c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_OPTIONS
178c87c5fbaSopenharmony_ci#ifndef COAP_MAX_OPTIONS
179c87c5fbaSopenharmony_ci#define COAP_MAX_OPTIONS CONFIG_LIBCOAP_MAX_OPTIONS
180c87c5fbaSopenharmony_ci#endif /* COAP_MAX_OPTIONS */
181c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_OPTIONS */
182c87c5fbaSopenharmony_ci
183c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_CACHE_KEYS
184c87c5fbaSopenharmony_ci#ifndef COAP_MAX_CACHE_KEYS
185c87c5fbaSopenharmony_ci#define COAP_MAX_CACHE_KEYS CONFIG_LIBCOAP_MAX_CACHE_KEYS
186c87c5fbaSopenharmony_ci#endif /* COAP_MAX_CACHE_KEYS */
187c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_CACHE_KEYS */
188c87c5fbaSopenharmony_ci
189c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_CACHE_ENTRIES
190c87c5fbaSopenharmony_ci#ifndef COAP_MAX_CACHE_ENTRIES
191c87c5fbaSopenharmony_ci#define COAP_MAX_CACHE_ENTRIES CONFIG_LIBCOAP_MAX_CACHE_ENTRIES
192c87c5fbaSopenharmony_ci#endif /* COAP_MAX_CACHE_ENTRIES */
193c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_CACHE_ENTRIES */
194c87c5fbaSopenharmony_ci
195c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_LG_CRCVS
196c87c5fbaSopenharmony_ci#ifndef COAP_MAX_LG_CRCVS
197c87c5fbaSopenharmony_ci#define COAP_MAX_LG_CRCVS CONFIG_LIBCOAP_MAX_LG_CRCVS
198c87c5fbaSopenharmony_ci#endif /* COAP_MAX_LG_CRCVS */
199c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_LG_CRCVS */
200c87c5fbaSopenharmony_ci
201c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_LG_SRCVS
202c87c5fbaSopenharmony_ci#ifndef COAP_MAX_LG_SRCVS
203c87c5fbaSopenharmony_ci#define COAP_MAX_LG_SRCVS CONFIG_LIBCOAP_MAX_LG_SRCVS
204c87c5fbaSopenharmony_ci#endif /* COAP_MAX_LG_SRCVS */
205c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_LG_SRCVS */
206c87c5fbaSopenharmony_ci
207c87c5fbaSopenharmony_ci#ifdef CONFIG_LIBCOAP_MAX_LG_XMITS
208c87c5fbaSopenharmony_ci#ifndef COAP_MAX_LG_XMITS
209c87c5fbaSopenharmony_ci#define COAP_MAX_LG_XMITS CONFIG_LIBCOAP_MAX_LG_XMITS
210c87c5fbaSopenharmony_ci#endif /* COAP_MAX_LG_XMITS */
211c87c5fbaSopenharmony_ci#endif /* CONFIG_LIBCOAP_MAX_LG_XMITS */
212c87c5fbaSopenharmony_ci
213c87c5fbaSopenharmony_ci#ifndef COAP_DISABLE_TCP
214c87c5fbaSopenharmony_ci#if MODULE_SOCK_TCP
215c87c5fbaSopenharmony_ci#define COAP_DISABLE_TCP 0
216c87c5fbaSopenharmony_ci#else /* ! MODULE_SOCK_TCP */
217c87c5fbaSopenharmony_ci#define COAP_DISABLE_TCP 1
218c87c5fbaSopenharmony_ci#endif /* ! MODULE_SOCK_TCP */
219c87c5fbaSopenharmony_ci#endif /* COAP_DISABLE_TCP */
220c87c5fbaSopenharmony_ci
221c87c5fbaSopenharmony_ci#ifdef MODULE_TINYDTLS
222c87c5fbaSopenharmony_ci#ifndef COAP_WITH_LIBTINYDTLS
223c87c5fbaSopenharmony_ci#define COAP_WITH_LIBTINYDTLS 1
224c87c5fbaSopenharmony_ci#endif /* ! COAP_WITH_LIBTINYDTLS */
225c87c5fbaSopenharmony_ci#endif /* MODULE_TINYDTLS */
226c87c5fbaSopenharmony_ci
227c87c5fbaSopenharmony_ci/* Define if building universal (internal helper macro) */
228c87c5fbaSopenharmony_ci/* #undef AC_APPLE_UNIVERSAL_BUILD */
229c87c5fbaSopenharmony_ci
230c87c5fbaSopenharmony_ci/* Define to 1 if you have the <arpa/inet.h> header file. */
231c87c5fbaSopenharmony_ci#define HAVE_ARPA_INET_H 1
232c87c5fbaSopenharmony_ci
233c87c5fbaSopenharmony_ci/* Define to 1 if you have the <assert.h> header file. */
234c87c5fbaSopenharmony_ci#define HAVE_ASSERT_H 1
235c87c5fbaSopenharmony_ci
236c87c5fbaSopenharmony_ci/* Define to 1 if you have the `getaddrinfo' function. */
237c87c5fbaSopenharmony_ci/* #undef HAVE_GETADDRINFO */
238c87c5fbaSopenharmony_ci
239c87c5fbaSopenharmony_ci/* Define to 1 if you have the <inttypes.h> header file. */
240c87c5fbaSopenharmony_ci#define HAVE_INTTYPES_H 1
241c87c5fbaSopenharmony_ci
242c87c5fbaSopenharmony_ci/* Define to 1 if you have the <limits.h> header file. */
243c87c5fbaSopenharmony_ci/* #undef HAVE_LIMITS_H */
244c87c5fbaSopenharmony_ci
245c87c5fbaSopenharmony_ci/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
246c87c5fbaSopenharmony_ci   to 0 otherwise. */
247c87c5fbaSopenharmony_ci#undef HAVE_MALLOC
248c87c5fbaSopenharmony_ci
249c87c5fbaSopenharmony_ci/* Define to 1 if you have the <memory.h> header file. */
250c87c5fbaSopenharmony_ci/* #undef HAVE_MEMORY_H */
251c87c5fbaSopenharmony_ci
252c87c5fbaSopenharmony_ci/* Define to 1 if you have the `memset' function. */
253c87c5fbaSopenharmony_ci#define HAVE_MEMSET 1
254c87c5fbaSopenharmony_ci
255c87c5fbaSopenharmony_ci/* Define to 1 if you have the <netdb.h> header file. */
256c87c5fbaSopenharmony_ci/* #undef HAVE_NETDB_H */
257c87c5fbaSopenharmony_ci
258c87c5fbaSopenharmony_ci/* Define to 1 if you have the <netinet/in.h> header file. */
259c87c5fbaSopenharmony_ci#define HAVE_NETINET_IN_H 1
260c87c5fbaSopenharmony_ci
261c87c5fbaSopenharmony_ci/* Define to 1 if you have the `select' function. */
262c87c5fbaSopenharmony_ci/* #undef HAVE_SELECT */
263c87c5fbaSopenharmony_ci
264c87c5fbaSopenharmony_ci/* Define to 1 if you have the `socket' function. */
265c87c5fbaSopenharmony_ci#define HAVE_SOCKET 1
266c87c5fbaSopenharmony_ci
267c87c5fbaSopenharmony_ci/* Define to 1 if you have the <stdint.h> header file. */
268c87c5fbaSopenharmony_ci#define HAVE_STDINT_H 1
269c87c5fbaSopenharmony_ci
270c87c5fbaSopenharmony_ci/* Define to 1 if you have the <stdlib.h> header file. */
271c87c5fbaSopenharmony_ci#define HAVE_STDLIB_H 1
272c87c5fbaSopenharmony_ci
273c87c5fbaSopenharmony_ci/* Define to 1 if you have the `strcasecmp' function. */
274c87c5fbaSopenharmony_ci#define HAVE_STRCASECMP 1
275c87c5fbaSopenharmony_ci
276c87c5fbaSopenharmony_ci/* Define to 1 if you have the <strings.h> header file. */
277c87c5fbaSopenharmony_ci#define HAVE_STRINGS_H 1
278c87c5fbaSopenharmony_ci
279c87c5fbaSopenharmony_ci/* Define to 1 if you have the <string.h> header file. */
280c87c5fbaSopenharmony_ci#define HAVE_STRING_H 1
281c87c5fbaSopenharmony_ci
282c87c5fbaSopenharmony_ci/* Define to 1 if you have the `strnlen' function. */
283c87c5fbaSopenharmony_ci#define HAVE_STRNLEN 1
284c87c5fbaSopenharmony_ci
285c87c5fbaSopenharmony_ci/* Define to 1 if you have the `strrchr' function. */
286c87c5fbaSopenharmony_ci#define HAVE_STRRCHR 1
287c87c5fbaSopenharmony_ci
288c87c5fbaSopenharmony_ci/* Define to 1 if you have the <sys/socket.h> header file. */
289c87c5fbaSopenharmony_ci#define HAVE_SYS_SOCKET_H 1
290c87c5fbaSopenharmony_ci
291c87c5fbaSopenharmony_ci/* Define to 1 if you have the <sys/stat.h> header file. */
292c87c5fbaSopenharmony_ci/* #undef HAVE_SYS_STAT_H */
293c87c5fbaSopenharmony_ci
294c87c5fbaSopenharmony_ci/* Define to 1 if you have the <sys/time.h> header file. */
295c87c5fbaSopenharmony_ci#define HAVE_SYS_TIME_H 1
296c87c5fbaSopenharmony_ci
297c87c5fbaSopenharmony_ci/* Define to 1 if you have the <sys/types.h> header file. */
298c87c5fbaSopenharmony_ci#define HAVE_SYS_TYPES_H 1
299c87c5fbaSopenharmony_ci
300c87c5fbaSopenharmony_ci/* Define to 1 if you have the <sys/unistd.h> header file. */
301c87c5fbaSopenharmony_ci#define HAVE_SYS_UNISTD_H 1
302c87c5fbaSopenharmony_ci
303c87c5fbaSopenharmony_ci/* Define to 1 if you have the <time.h> header file. */
304c87c5fbaSopenharmony_ci#define HAVE_TIME_H 1
305c87c5fbaSopenharmony_ci
306c87c5fbaSopenharmony_ci/* Define to 1 if you have the <unistd.h> header file. */
307c87c5fbaSopenharmony_ci#define HAVE_UNISTD_H 1
308c87c5fbaSopenharmony_ci
309c87c5fbaSopenharmony_ci/* Define to the address where bug reports for this package should be sent. */
310c87c5fbaSopenharmony_ci#define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
311c87c5fbaSopenharmony_ci
312c87c5fbaSopenharmony_ci/* Define to the full name of this package. */
313c87c5fbaSopenharmony_ci#define PACKAGE_NAME "@PACKAGE_NAME@"
314c87c5fbaSopenharmony_ci
315c87c5fbaSopenharmony_ci/* Define to the version of this package. */
316c87c5fbaSopenharmony_ci#define PACKAGE_VERSION "@PACKAGE_VERSION@"
317c87c5fbaSopenharmony_ci
318c87c5fbaSopenharmony_ci/* Define to the full name and version of this package. */
319c87c5fbaSopenharmony_ci#define PACKAGE_STRING "@PACKAGE_STRING@"
320c87c5fbaSopenharmony_ci
321c87c5fbaSopenharmony_ci/* Define to 1 if you have the ANSI C header files. */
322c87c5fbaSopenharmony_ci#define STDC_HEADERS 1
323c87c5fbaSopenharmony_ci
324c87c5fbaSopenharmony_ci/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
325c87c5fbaSopenharmony_ci   significant byte first (like Motorola and SPARC, unlike Intel). */
326c87c5fbaSopenharmony_ci#if defined AC_APPLE_UNIVERSAL_BUILD
327c87c5fbaSopenharmony_ci# if defined __BIG_ENDIAN__
328c87c5fbaSopenharmony_ci#  define WORDS_BIGENDIAN 1
329c87c5fbaSopenharmony_ci# endif
330c87c5fbaSopenharmony_ci#else
331c87c5fbaSopenharmony_ci# ifndef WORDS_BIGENDIAN
332c87c5fbaSopenharmony_ci/* #  undef WORDS_BIGENDIAN */
333c87c5fbaSopenharmony_ci# endif
334c87c5fbaSopenharmony_ci#endif
335c87c5fbaSopenharmony_ci
336c87c5fbaSopenharmony_ci/* Define to rpl_malloc if the replacement function should be used. */
337c87c5fbaSopenharmony_ci/* #undef malloc */
338c87c5fbaSopenharmony_ci
339c87c5fbaSopenharmony_ci/* Define to `unsigned int' if <sys/types.h> does not define. */
340c87c5fbaSopenharmony_ci/* #undef size_t */
341c87c5fbaSopenharmony_ci
342c87c5fbaSopenharmony_ci/* Define to `int' if <sys/types.h> does not define. */
343c87c5fbaSopenharmony_ci/* #undef ssize_t */
344c87c5fbaSopenharmony_ci
345c87c5fbaSopenharmony_ci#endif /* COAP_CONFIG_H_ */
346