-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h.in
312 lines (215 loc) · 6.98 KB
/
config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
/* config.h.in. Generated from configure.in by autoheader. */
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* system binary directory */
#undef BIN_LOC
/* system data directory */
#undef DATA_LOC
/* libairpcap header */
#undef HAVE_AIRPCAP_H
/* BSD radiotap packet headers */
#undef HAVE_BSD_SYS_RADIOTAP
/* kernel capability support */
#undef HAVE_CAPABILITY
/* Define to 1 if you have the <errno.h> header file. */
#undef HAVE_ERRNO_H
/* Define to 1 if you have the <getopt.h> header file. */
#undef HAVE_GETOPT_H
/* system defines getopt_long */
#undef HAVE_GETOPT_LONG
/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* GPS support will be built. */
#undef HAVE_GPS
/* inttypes.h is present */
#undef HAVE_INTTYPES_H
/* libairpcap win32 control lib */
#undef HAVE_LIBAIRPCAP
/* Define to 1 if you have the `cap' library (-lcap). */
#undef HAVE_LIBCAP
/* Curses terminal lib */
#undef HAVE_LIBCURSES
/* NCurses terminal lib */
#undef HAVE_LIBNCURSES
/* libnl netlink library */
#undef HAVE_LIBNL
/* libnl-2.0 netlink library */
#undef HAVE_LIBNL20
/* libnl-3.0 netlink library */
#undef HAVE_LIBNL30
/* Panel terminal lib */
#undef HAVE_LIBPANEL
/* libpcap packet capture lib */
#undef HAVE_LIBPCAP
/* libpcre regex support */
#undef HAVE_LIBPCRE
/* Define to 1 if you have the <libutil.h> header file. */
#undef HAVE_LIBUTIL_H
/* Linux wireless iwfreq.flag */
#undef HAVE_LINUX_IWFREQFLAG
/* Netlink works */
#undef HAVE_LINUX_NETLINK
/* Linux wireless extentions present */
#undef HAVE_LINUX_WIRELESS
/* local radiotap packet headers */
#undef HAVE_LOCAL_RADIOTAP
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `memset' function. */
#undef HAVE_MEMSET
/* Define to 1 if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* pcap/pcap.h */
#undef HAVE_PCAPPCAP_H
/* pcapfileno-capable libwpcap */
#undef HAVE_PCAP_FILENO
/* Selectablefd-capable libpcap */
#undef HAVE_PCAP_GETSELFD
/* libpcap header */
#undef HAVE_PCAP_H
/* Nonblocking-capable libpcap */
#undef HAVE_PCAP_NONBLOCK
/* libpcap supports PPI */
#undef HAVE_PPI
/* Define to 1 if you have the `pstat' function. */
#undef HAVE_PSTAT
/* Define to 1 if you have the `select' function. */
#undef HAVE_SELECT
/* Define to 1 if you have the `setproctitle' function. */
#undef HAVE_SETPROCTITLE
/* Define to 1 if you have the `socket' function. */
#undef HAVE_SOCKET
/* accept() takes type socklen_t for addrlen */
#undef HAVE_SOCKLEN_T
/* Define to 1 if `stat' has the bug that it succeeds when given the
zero-length file name argument. */
#undef HAVE_STAT_EMPTY_STRING_BUG
/* stdint.h is present */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define to 1 if you have the `strftime' function. */
#undef HAVE_STRFTIME
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the `strstr' function. */
#undef HAVE_STRSTR
/* System headers are there */
#undef HAVE_SYSHEADERS
/* Define to 1 if you have the <sys/pstat.h> header file. */
#undef HAVE_SYS_PSTAT_H
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the <Win32-Extensions.h> header file. */
#undef HAVE_WIN32_EXTENSIONS_H
/* Define to 1 if you have the <windows.h> header file. */
#undef HAVE_WINDOWS_H
/* __PROGNAME glibc macro available */
#undef HAVE___PROGNAME
/* system library directory */
#undef LIB_LOC
/* system state directory */
#undef LOCALSTATE_DIR
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* writeable argv type */
#undef PF_ARGV_TYPE
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* system config directory */
#undef SYSCONF_LOC
/* Compiling for Cygwin */
#undef SYS_CYGWIN
/* Compiling for OSX/Darwin */
#undef SYS_DARWIN
/* Compiling for FreeBSD */
#undef SYS_FREEBSD
/* Compiling for Linux OS */
#undef SYS_LINUX
/* Compiling for NetBSD */
#undef SYS_NETBSD
/* Compiling for OpenBSD */
#undef SYS_OPENBSD
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* proftpd argv stuff */
#define PF_ARGV_NONE 0
#define PF_ARGV_NEW 1
#define PF_ARGV_WRITEABLE 2
#define PF_ARGV_PSTAT 3
#define PF_ARGV_PSSTRINGS 4
/* Maximum number of characters in the status line */
#define STATUS_MAX 1024
/* Maximum number of channels - I've only ever heard of 14 being used. */
#define CHANNEL_MAX 14
/* Stupid ncurses */
#define NCURSES_NOMACROS
/* Number of hex pairs in a key */
#define WEPKEY_MAX 32
/* String length of a key */
#define WEPKEYSTR_MAX ((WEPKEY_MAX * 2) + WEPKEY_MAX)
/* Number of past alerts to queue for new clients */
#define ALERT_BACKLOG 50
/* system min isn't reliable */
#define kismin(x,y) ((x) < (y) ? (x) : (y))
#define kismax(x,y) ((x) > (y) ? (x) : (y))
// Timer slices per second
#define SERVER_TIMESLICES_SEC 10
// Max chars in SSID
#define MAX_SSID_LEN 255
/* Namespace (on non-obj-c files) */
#ifndef __IN_OBJC_FILE__
using namespace std;
#define __STL_USE_NAMESPACES
#endif
#ifndef _
#define _(x) x
#endif