• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * coap_config.h.riot -- RIOT configuration for libcoap
3 *
4 * Copyright (C) 2021 Olaf Bergmann <bergmann@tzi.org> and others
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#ifndef COAP_CONFIG_H_RIOT_
13#define COAP_CONFIG_H_RIOT_
14
15#define WITH_POSIX 1
16
17#ifndef COAP_CONSTRAINED_STACK
18#define COAP_CONSTRAINED_STACK 1
19#endif
20
21#ifndef COAP_DISABLE_TCP
22#define COAP_DISABLE_TCP 1
23#endif
24
25/* Define if building universal (internal helper macro) */
26/* #undef AC_APPLE_UNIVERSAL_BUILD */
27
28/* Define to 1 if you have the <arpa/inet.h> header file. */
29#define HAVE_ARPA_INET_H 1
30
31/* Define to 1 if you have the <assert.h> header file. */
32#define HAVE_ASSERT_H 1
33
34/* Define to 1 if you have the `getaddrinfo' function. */
35/* #undef HAVE_GETADDRINFO */
36
37/* Define to 1 if you have the <inttypes.h> header file. */
38#define HAVE_INTTYPES_H 1
39
40/* Define to 1 if you have the <limits.h> header file. */
41/* #undef HAVE_LIMITS_H */
42
43/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
44   to 0 otherwise. */
45#undef HAVE_MALLOC
46
47/* Define to 1 if you have the <memory.h> header file. */
48/* #undef HAVE_MEMORY_H */
49
50/* Define to 1 if you have the `memset' function. */
51#define HAVE_MEMSET 1
52
53/* Define to 1 if you have the <netdb.h> header file. */
54/* #undef HAVE_NETDB_H */
55
56/* Define to 1 if you have the <netinet/in.h> header file. */
57#define HAVE_NETINET_IN_H 1
58
59/* Define to 1 if you have the `select' function. */
60/* #undef HAVE_SELECT */
61
62/* Define to 1 if you have the `socket' function. */
63#define HAVE_SOCKET 1
64
65/* Define to 1 if you have the <stdint.h> header file. */
66#define HAVE_STDINT_H 1
67
68/* Define to 1 if you have the <stdlib.h> header file. */
69#define HAVE_STDLIB_H 1
70
71/* Define to 1 if you have the `strcasecmp' function. */
72#define HAVE_STRCASECMP 1
73
74/* Define to 1 if you have the <strings.h> header file. */
75#define HAVE_STRINGS_H 1
76
77/* Define to 1 if you have the <string.h> header file. */
78#define HAVE_STRING_H 1
79
80/* Define to 1 if you have the `strnlen' function. */
81/* #undef HAVE_STRNLEN */
82
83/* Define to 1 if you have the `strrchr' function. */
84#define HAVE_STRRCHR 1
85
86/* Define to 1 if you have the <sys/socket.h> header file. */
87#define HAVE_SYS_SOCKET_H 1
88
89/* Define to 1 if you have the <sys/stat.h> header file. */
90/* #undef HAVE_SYS_STAT_H */
91
92/* Define to 1 if you have the <sys/time.h> header file. */
93#define HAVE_SYS_TIME_H 1
94
95/* Define to 1 if you have the <sys/types.h> header file. */
96#define HAVE_SYS_TYPES_H 1
97
98/* Define to 1 if you have the <sys/unistd.h> header file. */
99#define HAVE_SYS_UNISTD_H 1
100
101/* Define to 1 if you have the <time.h> header file. */
102#define HAVE_TIME_H 1
103
104/* Define to 1 if you have the <unistd.h> header file. */
105#define HAVE_UNISTD_H 1
106
107/* Define to the address where bug reports for this package should be sent. */
108#define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
109
110/* Define to the full name of this package. */
111#define PACKAGE_NAME "@PACKAGE_NAME@"
112
113/* Define to the version of this package. */
114#define PACKAGE_VERSION "@PACKAGE_VERSION@"
115
116/* Define to the full name and version of this package. */
117#define PACKAGE_STRING "@PACKAGE_STRING@"
118
119/* Define to 1 if you have the ANSI C header files. */
120#define STDC_HEADERS 1
121
122/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
123   significant byte first (like Motorola and SPARC, unlike Intel). */
124#if defined AC_APPLE_UNIVERSAL_BUILD
125# if defined __BIG_ENDIAN__
126#  define WORDS_BIGENDIAN 1
127# endif
128#else
129# ifndef WORDS_BIGENDIAN
130/* #  undef WORDS_BIGENDIAN */
131# endif
132#endif
133
134/* Define to rpl_malloc if the replacement function should be used. */
135/* #undef malloc */
136
137/* Define to `unsigned int' if <sys/types.h> does not define. */
138/* #undef size_t */
139
140/* Define to `int' if <sys/types.h> does not define. */
141/* #undef ssize_t */
142
143#endif /* COAP_CONFIG_H_RIOT_ */
144