cleanup: correct type of key exchange strings from uint8_t* to char*
[secnet] / config.h.in
... / ...
CommitLineData
1/* config.h.in. Generated from configure.in by autoheader. */
2
3
4#ifndef _CONFIG_H
5#define _CONFIG_H
6
7
8/* Define if building universal (internal helper macro) */
9#undef AC_APPLE_UNIVERSAL_BUILD
10
11/* Define to 1 if you have the <inttypes.h> header file. */
12#undef HAVE_INTTYPES_H
13
14/* Define to 1 if you have the `adns' library (-ladns). */
15#undef HAVE_LIBADNS
16
17/* Define to 1 if you have the `fl' library (-lfl). */
18#undef HAVE_LIBFL
19
20/* Define to 1 if you have the `getopt' library (-lgetopt). */
21#undef HAVE_LIBGETOPT
22
23/* Define to 1 if you have the `gmp' library (-lgmp). */
24#undef HAVE_LIBGMP
25
26/* Define to 1 if you have the `gmp2' library (-lgmp2). */
27#undef HAVE_LIBGMP2
28
29/* Define to 1 if you have the `gnugetopt' library (-lgnugetopt). */
30#undef HAVE_LIBGNUGETOPT
31
32/* Define to 1 if you have the `nsl' library (-lnsl). */
33#undef HAVE_LIBNSL
34
35/* Define to 1 if you have the `resolv' library (-lresolv). */
36#undef HAVE_LIBRESOLV
37
38/* Define to 1 if you have the `socket' library (-lsocket). */
39#undef HAVE_LIBSOCKET
40
41/* Define to 1 if you have the <linux/if.h> header file. */
42#undef HAVE_LINUX_IF_H
43
44/* Define to 1 if you have the <memory.h> header file. */
45#undef HAVE_MEMORY_H
46
47/* Define to 1 if you have the <net/if.h> header file. */
48#undef HAVE_NET_IF_H
49
50/* Define to 1 if you have the <net/if_tun.h> header file. */
51#undef HAVE_NET_IF_TUN_H
52
53/* Define to 1 if you have the <net/route.h> header file. */
54#undef HAVE_NET_ROUTE_H
55
56/* Define to 1 if you have the `snprintf' function. */
57#undef HAVE_SNPRINTF
58
59/* Define to 1 if you have the <stdint.h> header file. */
60#undef HAVE_STDINT_H
61
62/* Define to 1 if you have the <stdlib.h> header file. */
63#undef HAVE_STDLIB_H
64
65/* Define to 1 if you have the <strings.h> header file. */
66#undef HAVE_STRINGS_H
67
68/* Define to 1 if you have the <string.h> header file. */
69#undef HAVE_STRING_H
70
71/* Define to 1 if you have the <stropts.h> header file. */
72#undef HAVE_STROPTS_H
73
74/* Define to 1 if you have the <sys/socket.h> header file. */
75#undef HAVE_SYS_SOCKET_H
76
77/* Define to 1 if you have the <sys/sockio.h> header file. */
78#undef HAVE_SYS_SOCKIO_H
79
80/* Define to 1 if you have the <sys/stat.h> header file. */
81#undef HAVE_SYS_STAT_H
82
83/* Define to 1 if you have the <sys/types.h> header file. */
84#undef HAVE_SYS_TYPES_H
85
86/* Define to 1 if you have the <unistd.h> header file. */
87#undef HAVE_UNISTD_H
88
89/* Define to the address where bug reports for this package should be sent. */
90#undef PACKAGE_BUGREPORT
91
92/* Define to the full name of this package. */
93#undef PACKAGE_NAME
94
95/* Define to the full name and version of this package. */
96#undef PACKAGE_STRING
97
98/* Define to the one symbol short name of this package. */
99#undef PACKAGE_TARNAME
100
101/* Define to the home page for this package. */
102#undef PACKAGE_URL
103
104/* Define to the version of this package. */
105#undef PACKAGE_VERSION
106
107/* The size of `unsigned char', as computed by sizeof. */
108#undef SIZEOF_UNSIGNED_CHAR
109
110/* The size of `unsigned int', as computed by sizeof. */
111#undef SIZEOF_UNSIGNED_INT
112
113/* The size of `unsigned long', as computed by sizeof. */
114#undef SIZEOF_UNSIGNED_LONG
115
116/* The size of `unsigned long long', as computed by sizeof. */
117#undef SIZEOF_UNSIGNED_LONG_LONG
118
119/* The size of `unsigned short', as computed by sizeof. */
120#undef SIZEOF_UNSIGNED_SHORT
121
122/* Define to 1 if you have the ANSI C header files. */
123#undef STDC_HEADERS
124
125/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
126 significant byte first (like Motorola and SPARC, unlike Intel). */
127#if defined AC_APPLE_UNIVERSAL_BUILD
128# if defined __BIG_ENDIAN__
129# define WORDS_BIGENDIAN 1
130# endif
131#else
132# ifndef WORDS_BIGENDIAN
133# undef WORDS_BIGENDIAN
134# endif
135#endif
136
137
138/* -*- c -*- */
139
140/* These used to be in config.h.bot, but are now in configure.in. */
141
142#ifdef HAVE_INTTYPES_H
143#include <inttypes.h>
144#else
145#ifdef HAVE_STDINT_H
146#include <stdint.h>
147#else
148#if SIZEOF_UNSIGNED_LONG_LONG==8
149typedef unsigned long long uint64_t;
150typedef long long int64_t;
151#elif SIZEOF_UNSIGNED_LONG==8
152typedef unsigned long uint64_t;
153typedef long int64_t;
154#else
155#error I do not know what to use for a uint64_t.
156#endif
157
158/* Give us an unsigned 32-bit data type. */
159#if SIZEOF_UNSIGNED_LONG==4
160typedef unsigned long uint32_t;
161typedef long int32_t;
162#elif SIZEOF_UNSIGNED_INT==4
163typedef unsigned int uint32_t;
164typedef int int32_t;
165#else
166#error I do not know what to use for a uint32_t.
167#endif
168
169/* An unsigned 16-bit data type. */
170#if SIZEOF_UNSIGNED_INT==2
171typedef unsigned int uint16_t;
172typedef int int16_t;
173#elif SIZEOF_UNSIGNED_SHORT==2
174typedef unsigned short uint16_t;
175typedef short int16_t;
176#else
177#error I do not know what to use for a uint16_t.
178#endif
179
180/* An unsigned 8-bit data type */
181#if SIZEOF_UNSIGNED_CHAR==1
182typedef unsigned char uint8_t;
183#else
184#error I do not know what to use for a uint8_t.
185#endif
186#endif
187#endif
188
189#ifndef HAVE_SNPRINTF
190#include <stdio.h>
191#include <stdarg.h>
192#include "snprintf.h"
193#endif
194
195#ifdef __GNUC__
196#define NORETURN(_x) void _x __attribute__ ((noreturn))
197#define FORMAT(_a,_b,_c) __attribute__ ((format (_a,_b,_c)))
198#else
199#define NORETURN(_x) _x
200#define FORMAT(_a,_b,_c)
201#endif
202
203#endif /* _CONFIG_H */
204