Remove unused pkg dependancy
[platform/upstream/iotivity.git] / extlibs / tinydtls / dtls_config.h.in
1 /* tinydtls -- a very basic DTLS implementation
2  *
3  * Copyright (C) 2011--2014 Olaf Bergmann <bergmann@tzi.org>
4  * Copyright (C) 2013 Hauke Mehrtens <hauke@hauke-m.de>
5  *
6  * Permission is hereby granted, free of charge, to any person
7  * obtaining a copy of this software and associated documentation
8  * files (the "Software"), to deal in the Software without
9  * restriction, including without limitation the rights to use, copy,
10  * modify, merge, publish, distribute, sublicense, and/or sell copies
11  * of the Software, and to permit persons to whom the Software is
12  * furnished to do so, subject to the following conditions:
13  *
14  * The above copyright notice and this permission notice shall be
15  * included in all copies or substantial portions of the Software.
16  *
17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24  * SOFTWARE.
25  */
26
27 /**
28  * @file dtls_config.h
29  * @brief internal configuration for tinydtls library
30  *
31  * This file has been generated by configure from dtls_config.h.in.
32  */
33
34 /* dummy definitions for PACKAGE_NAME and PACKAGE_VERSION */
35 #define PACKAGE_NAME "tinydtls"
36 #define PACKAGE_STRING PACKAGE_NAME
37 #define PACKAGE_VERSION PACKAGE_VERSION
38
39 #ifdef CONTIKI
40 #include "contiki.h"
41 #include "contiki-lib.h"
42 #include "contiki-net.h"
43
44 #include "contiki-conf.h"
45
46 /* global constants for constrained devices running Contiki */
47 #ifndef DTLS_PEER_MAX
48 /** The maximum number DTLS peers (i.e. sessions). */
49 #  define DTLS_PEER_MAX 1
50 #endif
51
52 #ifndef DTLS_HANDSHAKE_MAX
53 /** The maximum number of concurrent DTLS handshakes. */
54 #  define DTLS_HANDSHAKE_MAX 1
55 #endif
56
57 #ifndef DTLS_SECURITY_MAX
58 /** The maximum number of concurrently used cipher keys */
59 #  define DTLS_SECURITY_MAX (DTLS_PEER_MAX + DTLS_HANDSHAKE_MAX)
60 #endif
61
62 #ifndef DTLS_HASH_MAX
63 /** The maximum number of hash functions that can be used in parallel. */
64 #  define DTLS_HASH_MAX (3 * DTLS_PEER_MAX)
65 #endif
66 #endif /* CONTIKI */
67
68 /* Define if building universal (internal helper macro) */
69 #undef AC_APPLE_UNIVERSAL_BUILD
70
71 /* Define to 1 if building with X.509 support */
72 #undef DTLS_X509
73
74 /* Define to 1 if you have the <arpa/inet.h> header file. */
75 #undef HAVE_ARPA_INET_H
76
77 /* Define to 1 if you have the <assert.h> header file. */
78 #undef HAVE_ASSERT_H
79
80 /* Define to 1 if you have the <fcntl.h> header file. */
81 #undef HAVE_FCNTL_H
82
83 /* Define to 1 if you have the `fls' function. */
84 #undef HAVE_FLS
85
86 /* Define to 1 if you have the <inttypes.h> header file. */
87 #undef HAVE_INTTYPES_H
88
89 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
90    to 0 otherwise. */
91 #undef HAVE_MALLOC
92
93 /* Define to 1 if you have the <memory.h> header file. */
94 #undef HAVE_MEMORY_H
95
96 /* Define to 1 if you have the `memset' function. */
97 #undef HAVE_MEMSET
98
99 /* Define to 1 if you have the <netdb.h> header file. */
100 #undef HAVE_NETDB_H
101
102 /* Define to 1 if you have the <netinet/in.h> header file. */
103 #undef HAVE_NETINET_IN_H
104
105 /* Define to 1 if you have the `select' function. */
106 #undef HAVE_SELECT
107
108 /* Define to 1 if struct sockaddr_in6 has a member sin6_len. */
109 #undef HAVE_SOCKADDR_IN6_SIN6_LEN
110
111 /* Define to 1 if you have the `socket' function. */
112 #undef HAVE_SOCKET
113
114 /* Define to 1 if you have the <stddef.h> header file. */
115 #undef HAVE_STDDEF_H
116
117 /* Define to 1 if you have the <stdint.h> header file. */
118 #undef HAVE_STDINT_H
119
120 /* Define to 1 if you have the <stdlib.h> header file. */
121 #undef HAVE_STDLIB_H
122
123 /* Define to 1 if you have the `strdup' function. */
124 #undef HAVE_STRDUP
125
126 /* Define to 1 if you have the `strerror' function. */
127 #undef HAVE_STRERROR
128
129 /* Define to 1 if you have the <strings.h> header file. */
130 #undef HAVE_STRINGS_H
131
132 /* Define to 1 if you have the <string.h> header file. */
133 #undef HAVE_STRING_H
134
135 /* Define to 1 if you have the `strnlen' function. */
136 #undef HAVE_STRNLEN
137
138 /* Define to 1 if you have the <sys/param.h> header file. */
139 #undef HAVE_SYS_PARAM_H
140
141 /* Define to 1 if you have the <sys/socket.h> header file. */
142 #undef HAVE_SYS_SOCKET_H
143
144 /* Define to 1 if you have the <sys/stat.h> header file. */
145 #undef HAVE_SYS_STAT_H
146
147 /* Define to 1 if you have the <sys/time.h> header file. */
148 #undef HAVE_SYS_TIME_H
149
150 /* Define to 1 if you have the <sys/types.h> header file. */
151 #undef HAVE_SYS_TYPES_H
152
153 /* Define to 1 if you have the <time.h> header file. */
154 #undef HAVE_TIME_H
155
156 /* Define to 1 if you have the <unistd.h> header file. */
157 #undef HAVE_UNISTD_H
158
159 /* Define to 1 if you have the `vprintf' function. */
160 #undef HAVE_VPRINTF
161
162 /* Define to the address where bug reports for this package should be sent. */
163 #undef PACKAGE_BUGREPORT
164
165 /* Define to the full name of this package. */
166 #undef PACKAGE_NAME
167
168 /* Define to the full name and version of this package. */
169 #undef PACKAGE_STRING
170
171 /* Define to the one symbol short name of this package. */
172 #undef PACKAGE_TARNAME
173
174 /* Define to the home page for this package. */
175 #undef PACKAGE_URL
176
177 /* Define to the version of this package. */
178 #undef PACKAGE_VERSION
179
180 /* Define to 1 if you have the ANSI C header files. */
181 #undef STDC_HEADERS
182
183 /* Define to `__inline__' or `__inline' if that's what the C compiler
184    calls it, or to nothing if 'inline' is not supported under any name.  */
185 #ifndef __cplusplus
186 #undef inline
187 #endif
188
189 /* Define to rpl_malloc if the replacement function should be used. */
190 #undef malloc
191 /* Define to `unsigned int' if <sys/types.h> does not define. */
192
193 #undef size_t
194
195 /************************************************************************/
196 /* Specific Contiki platforms                                           */
197 /************************************************************************/
198
199 #ifdef CONTIKI
200
201 #if CONTIKI_TARGET_ECONOTAG
202 #  include "platform-specific/config-econotag.h"
203 #endif /* CONTIKI_TARGET_ECONOTAG */
204
205 #ifdef CONTIKI_TARGET_CC2538DK
206 #  include "platform-specific/config-cc2538dk.h"
207 #endif /* CONTIKI_TARGET_CC2538DK */
208
209 #ifdef CONTIKI_TARGET_WISMOTE
210 #  include "platform-specific/config-wismote.h"
211 #endif /* CONTIKI_TARGET_WISMOTE */
212
213 #ifdef CONTIKI_TARGET_SKY
214 #  include "platform-specific/config-sky.h"
215 #endif /* CONTIKI_TARGET_SKY */
216
217 #ifdef CONTIKI_TARGET_MINIMAL_NET
218 #  include "platform-specific/config-minimal-net.h"
219 #endif /* CONTIKI_TARGET_MINIMAL_NET */
220
221 #endif /* CONTIKI */