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