add listen-timeout to function as an accept timeout
[socat/sam.git] / config.h.in
blobad1ed5573d56a6dad760400a6aa1f97688ede815
1 /* source: config.h.in */
2 /* Copyright Gerhard Rieger 2001-2008 */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __config_h_included
6 #define __config_h_included 1
8 /* Define to empty if the keyword does not work. */
9 #undef const
11 /* Define to `int' if <sys/types.h> doesn't define. */
12 #undef gid_t
14 /* Define if your struct stat has st_blksize. */
15 #undef HAVE_ST_BLKSIZE
17 /* Define if your struct stat has st_blocks. */
18 #undef HAVE_ST_BLOCKS
20 /* Define if your struct stat has st_rdev. */
21 #undef HAVE_ST_RDEV
23 /* Define if you have the strftime function. */
24 #undef HAVE_STRFTIME
26 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
27 #undef HAVE_SYS_WAIT_H
29 /* Define to `int' if <sys/types.h> doesn't define. */
30 #undef mode_t
32 /* Define to `long' if <sys/types.h> doesn't define. */
33 #undef off_t
35 /* Define to `int' if <sys/types.h> doesn't define. */
36 #undef pid_t
38 /* Define as the return type of signal handlers (int or void). */
39 #undef RETSIGTYPE
41 /* Define to `unsigned' if <sys/types.h> doesn't define. */
42 #undef size_t
44 /* Define if you have the ANSI C header files. */
45 #undef STDC_HEADERS
47 /* Define if you can safely include both <sys/time.h> and <time.h>. */
48 #undef TIME_WITH_SYS_TIME
50 /* Define to `int' if <sys/types.h> doesn't define. */
51 #undef uid_t
53 /* Define if you have the putenv function. */
54 #undef HAVE_PUTENV
56 /* Define if you have the select function. */
57 #undef HAVE_SELECT
59 /* Define if you have the poll function. */
60 #undef HAVE_POLL
62 /* Define if you have the socket function. */
63 #undef HAVE_SOCKET
65 /* Define if you have the strdup function. */
66 #undef HAVE_STRDUP
68 /* Define if you have the strerror function. */
69 #undef HAVE_STRERROR
71 /* Define if you have the strstr function. */
72 #undef HAVE_STRSTR
74 /* Define if you have the strtod function. */
75 #undef HAVE_STRTOD
77 /* Define if you have the strtol function. */
78 #undef HAVE_STRTOL
80 /* Define if you have the strtoul function. */
81 #undef HAVE_STRTOUL
83 /* Define if you have the uname function. */
84 #undef HAVE_UNAME
86 /* Define if you have the getpgid function. */
87 #undef HAVE_GETPGID
89 /* Define if you have the getsid function. */
90 #undef HAVE_GETSID
92 /* Define if you have the nanosleep function. */
93 #undef HAVE_NANOSLEEP
95 /* Define if you have the getaddrinfo function. */
96 #undef HAVE_GETADDRINFO
98 /* Define if you have the getipnodebyname function. */
99 #undef HAVE_GETIPNODEBYNAME
101 /* Define if you have the setgroups function. */
102 #undef HAVE_SETGROUPS
104 /* Define if you have the inet_aton function. */
105 #undef HAVE_INET_ATON
107 /* Define if you have the memrchr function. */
108 #undef HAVE_MEMRCHR
110 /* Define if you have the if_indextoname function. */
111 #undef HAVE_IF_INDEXTONAME
113 /* Define if you have the sigaction function */
114 #undef HAVE_SIGACTION
116 /* Define if you have the stat64 function */
117 #undef HAVE_STAT64
119 /* Define if you have the fstat64 function */
120 #undef HAVE_FSTAT64
122 /* Define if you have the lstat64 function */
123 #undef HAVE_LSTAT64
125 /* Define if you have the lseek64 function */
126 #undef HAVE_LSEEK64
128 /* Define if you have the truncate64 function */
129 #undef HAVE_TRUNCATE64
131 /* Define if you have the ftruncate64 function */
132 #undef HAVE_FTRUNCATE64
134 /* Define if you have the strtoll function */
135 #undef HAVE_STRTOLL
137 /* Define if you have the hstrerror function */
138 #undef HAVE_HSTRERROR
140 /* Define if you have the inet_ntop function */
141 #undef HAVE_INET_NTOP
143 /* Define if you have the hstrerror prototype */
144 #undef HAVE_PROTOTYPE_HSTRERROR
146 /* Define if you have the <fcntl.h> header file. */
147 #undef HAVE_FCNTL_H
149 /* Define if you have the <limits.h> header file. */
150 #undef HAVE_LIMITS_H
152 /* Define if you have the <strings.h> header file. */
153 #undef HAVE_STRINGS_H
155 /* Define if you have the <sys/param.h> header file. */
156 #undef HAVE_SYS_PARAM_H
158 /* Define if you have the <sys/ioctl.h> header file. */
159 #undef HAVE_SYS_IOCTL_H
161 /* Define if you have the <sys/time.h> header file. */
162 #undef HAVE_SYS_TIME_H
164 /* Define if you have the <syslog.h> header file. */
165 #undef HAVE_SYSLOG_H
167 /* Define if you have the <unistd.h> header file. */
168 #undef HAVE_UNISTD_H
170 /* Define if you have the <pwd.h> header file. */
171 #undef HAVE_PWD_H
173 /* Define if you have the <grp.h> header file. */
174 #undef HAVE_GRP_H
176 /* Define if you have the <stdint.h> header file. */
177 #undef HAVE_STDINT_H
179 /* Define if you have the <sys/types.h> header file. */
180 #undef HAVE_SYS_TYPES_H
182 /* Define if you have the <sys/poll.h> header file. */
183 #undef HAVE_SYS_POLL_H
185 /* Define if you have the <sys/socket.h> header file. */
186 #undef HAVE_SYS_SOCKET_H
188 /* Define if you have the <sys/uio.h> header file. */
189 #undef HAVE_SYS_UIO_H
191 /* Define if you have the <sys/stat.h> header file. */
192 #undef HAVE_SYS_STAT_H
194 /* Define if you have the <netdb.h> header file. */
195 #undef HAVE_NETDB_H
197 /* Define if you have the <sys/un.h> header file. */
198 #undef HAVE_SYS_UN_H
200 /* Define if you have the <pty.h> header file. */
201 #undef HAVE_PTY_H
203 /* Define if you have the <netinet/in.h> header file. */
204 #undef HAVE_NETINET_IN_H
206 /* Define if you have the <netinet/in_systm.h> header file. */
207 #undef HAVE_NETINET_IN_SYSTM_H
209 /* Define if you have the <netinet/ip.h> header file. */
210 #undef HAVE_NETINET_IP_H
212 /* Define if you have the <netinet/tcp.h> header file. */
213 #undef HAVE_NETINET_TCP_H
215 /* Define if you have the <netinet/ip6.h> header file. */
216 #undef HAVE_NETINET_IP6_H
218 /* Define if you have the <arpa/nameser.h> header file. */
219 #undef HAVE_ARPA_NAMESER_H
221 /* Define if you have the <resolv.h> header file. */
222 #undef HAVE_RESOLV_H
224 /* Define if you have the <termios.h> header file. */
225 #undef HAVE_TERMIOS_H
227 /* Define if you have the <net/if.h> header file. */
228 #undef HAVE_NET_IF_H
230 /* Define if you have the <net/if_dl.h> header file. */
231 #undef HAVE_NET_IF_DL_H
233 /* Define if you have the <linux/types.h> header file. */
234 #undef HAVE_LINUX_TYPES_H
236 /* Define if you have the <linux/errqueue.h> header file. */
237 #undef HAVE_LINUX_ERRQUEUE_H
239 /* Define if you have the <linux/if_tun.h> header file. */
240 #undef HAVE_LINUX_IF_TUN_H
242 /* Define if you have the <netpacket/packet.h> header file. */
243 #undef HAVE_NETPACKET_PACKET_H
245 /* Define if you have the <netinet/if_ether.h> header file. */
246 #undef HAVE_NETINET_IF_ETHER_H
248 /* Define if you have the <sys/utsname.h> header file. */
249 #undef HAVE_SYS_UTSNAME_H
251 /* Define if you have the <sys/select.h> header file. (AIX) */
252 #undef HAVE_SYS_SELECT_H
254 /* Define if you have the <sys/file.h> header file. (AIX) */
255 #undef HAVE_SYS_FILE_H
257 /* Define if you have the <util.h> header file. (NetBSD, OpenBSD: openpty()) */
258 #undef HAVE_UTIL_H
260 /* Define if you have the <libutil.h> header file. (FreeBSD: openpty()) */
261 #undef HAVE_LIBUTIL_H
263 /* Define if you have the <sys/stropts.h> header file. (stream opts on SunOS)*/
264 #undef HAVE_SYS_STROPTS_H
266 /* Define if you have the <regex.h> header file. */
267 #undef HAVE_REGEX_H
269 /* Define if you have the <linux/fs.h> header file. */
270 #undef HAVE_LINUX_FS_H
272 /* Define if you have the <linux/ext2_fs.h> header file. */
273 #undef HAVE_LINUX_EXT2_FS_H
275 /* Define if you have the <readline/readline.h> header file. */
276 #undef HAVE_READLINE_READLINE_H
278 /* Define if you have the <readline/history.h> header file. */
279 #undef HAVE_READLINE_HISTORY_H
281 /* Define if you have the readline library. */
282 #undef HAVE_LIBREADLINE
284 /* Define if you have the m library (-lm). */
285 #undef HAVE_LIBM
287 /* Define if you have the floor function */
288 #undef HAVE_FLOOR
290 /* some platforms need _XOPEN_EXTENDED_SOURCE to get syslog headers (AIX4.1) */
291 #undef _XOPEN_EXTENDED_SOURCE
293 /* fdset may have component fds_bits or __fds_bits */
294 #undef HAVE_FDS_BITS
296 /* Define if you have the sa_family_t */
297 #undef HAVE_TYPE_SA_FAMILY_T
299 /* define if your struct sigaction has sa_sigaction */
300 #undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
302 /* Define if your struct termios has component c_ispeed */
303 #undef HAVE_TERMIOS_ISPEED
305 /* the offset of c_ispeed in struct termios - usable in an speed_t array.
306 Applies only when HAVE_TERMIOS_ISPEED is set */
307 #undef ISPEED_OFFSET
309 /* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */
310 #ifdef ISPEED_OFFSET
311 # define OSPEED_OFFSET (ISPEED_OFFSET+1)
312 #else
313 # undef OSPEED_OFFSET
314 #endif
316 /* Define if your termios.h likes _SVID3 defined */
317 #undef _SVID3
319 /* Define if you have struct timespec (e.g. for nanosleep) */
320 #undef HAVE_STRUCT_TIMESPEC
322 /* Define if you have struct linger */
323 #undef HAVE_STRUCT_LINGER
325 /* Define if you have struct ip_mreq */
326 #undef HAVE_STRUCT_IP_MREQ
328 /* Define if you have struct ip_mreqn */
329 #undef HAVE_STRUCT_IP_MREQN
331 /* Define if you have struct ipv6_mreq */
332 #undef HAVE_STRUCT_IPV6_MREQ
334 /* Define if you have struct ifreq */
335 #undef HAVE_STRUCT_IFREQ
337 /* Define if you have struct ifreq.ifr_index */
338 #undef HAVE_STRUCT_IFREQ_IFR_INDEX
340 /* Define if you have struct ifreq.ifr_ifindex; not on HPUX */
341 #undef HAVE_STRUCT_IFREQ_IFR_IFINDEX
343 /* Define if your struct sockaddr has sa_len */
344 #undef HAVE_STRUCT_SOCKADDR_SALEN
346 /* there are several implementations of sockaddr_in6 */
347 #undef HAVE_IP6_SOCKADDR
349 /* Define if you have struct iovec */
350 #undef HAVE_STRUCT_IOVEC
352 /* define if your struct msghdr has msg_control */
353 #undef HAVE_STRUCT_MSGHDR_MSGCONTROL
355 /* define if your struct msghdr has msg_controllen */
356 #undef HAVE_STRUCT_MSGHDR_MSGCONTROLLEN
358 /* define if your struct msghdr has msg_flag */
359 #undef HAVE_STRUCT_MSGHDR_MSGFLAGS
361 /* define if you have struct cmsghdr */
362 #undef HAVE_STRUCT_CMSGHDR
364 /* define if you have struct in_pktinfo */
365 #undef HAVE_STRUCT_IN_PKTINFO
367 /* define if your struct ip has ip_hl; otherwise assume ip_vhl */
368 #undef HAVE_STRUCT_IP_IP_HL
370 /* Define if you have the setenv function */
371 #undef HAVE_SETENV
373 /* Define if you have the unsetenv function. not on HP-UX */
374 #undef HAVE_UNSETENV
376 /* Define if you have the flock function */
377 #undef HAVE_FLOCK
379 /* Define if you have the openpty function */
380 #undef HAVE_OPENPTY
382 /* Define if you have the grantpt function */
383 #undef HAVE_GRANTPT
385 /* Define if you have the unlockpt function */
386 #undef HAVE_UNLOCKPT
388 /* Define if you have the ptsname function */
389 #undef HAVE_PTSNAME
391 /* Define if you have the /dev/ptmx pseudo terminal multiplexer */
392 #undef HAVE_DEV_PTMX
394 /* Define if you have the /dev/ptc pseudo terminal multiplexer */
395 #undef HAVE_DEV_PTC
397 /* Define if you have the long long type */
398 #undef HAVE_TYPE_LONGLONG
400 /* is socklen_t already typedef'd? */
401 #undef HAVE_TYPE_SOCKLEN
403 /* Define if you have the struct stat64 type */
404 #undef HAVE_TYPE_STAT64
406 /* Define if you have the struct off64_t type */
407 #undef HAVE_TYPE_OFF64
409 /* is sighandler_t already typedef'd? */
410 #undef HAVE_TYPE_SIGHANDLER
412 /* is uint8_t already defined? */
413 #undef HAVE_TYPE_UINT8
415 /* is uint16_t already defined? */
416 #undef HAVE_TYPE_UINT16
418 /* is uint32_t already defined? */
419 #undef HAVE_TYPE_UINT32
421 /* is uint64_t already defined? */
422 #undef HAVE_TYPE_UINT64
424 /* Define if you have the printf "Z" modifier */
425 #undef HAVE_FORMAT_Z
427 /* Define the shift offset of the CRDLY mask */
428 #undef CRDLY_SHIFT
430 /* Define the shift offset of the TABDLY mask */
431 #undef TABDLY_SHIFT
433 /* Define the shift offset of the CSIZE mask */
434 #undef CSIZE_SHIFT
436 /* Define if you have tcpwrappers (libwrap, tcpd) and it declares hosts_allow_table */
437 #undef HAVE_HOSTS_ALLOW_TABLE
438 #if defined(HAVE_HOSTS_ALLOW_TABLE) && HAVE_HOSTS_ALLOW_TABLE
439 # define HAVE_HOSTS_DENY_TABLE 1
440 #else
441 # undef HAVE_HOSTS_DENY_TABLE
442 #endif
444 /* 1..short, 3..int, 5..long; 2,4,6..unsigned */
445 #undef HAVE_BASIC_SIZE_T
446 #undef HAVE_BASIC_MODE_T
447 #undef HAVE_BASIC_PID_T
448 #undef HAVE_BASIC_UID_T
449 #undef HAVE_BASIC_GID_T
450 #undef HAVE_BASIC_TIME_T
451 #undef HAVE_BASIC_OFF64_T
453 #undef HAVE_BASIC_SOCKLEN_T
455 #undef HAVE_TYPEOF_ST_DEV
456 #undef HAVE_TYPEOF_ST_INO
457 #undef HAVE_TYPEOF_ST_NLINK
458 #undef HAVE_TYPEOF_ST_SIZE
459 #undef HAVE_TYPEOF_ST_BLKSIZE
460 #undef HAVE_TYPEOF_ST_BLOCKS
462 #undef HAVE_TYPEOF_ST64_DEV
463 #undef HAVE_TYPEOF_ST64_INO
464 #undef HAVE_TYPEOF_ST64_NLINK
465 #undef HAVE_TYPEOF_ST64_SIZE
466 #undef HAVE_TYPEOF_ST64_BLKSIZE
467 #undef HAVE_TYPEOF_ST64_BLOCKS
469 #undef HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC
471 #undef HAVE_TYPEOF_RLIM_MAX
473 /* Define if you have the /proc filesystem */
474 #undef HAVE_PROC_DIR
476 /* Define if you have the /proc/$$/fd directories */
477 #undef HAVE_PROC_DIR_FD
479 #undef WITH_HELP
480 #undef WITH_STDIO
481 #undef WITH_FDNUM
482 #undef WITH_FILE
483 #undef WITH_CREAT
484 #undef WITH_GOPEN
485 #undef WITH_TERMIOS
486 #undef WITH_PIPE
487 #undef WITH_UNIX
488 #undef WITH_ABSTRACT_UNIXSOCKET
489 #undef WITH_IP4
490 #undef WITH_IP6
491 #undef WITH_RAWIP
492 #undef WITH_GENERICSOCKET
493 #undef WITH_INTERFACE
494 #undef WITH_TCP
495 #undef WITH_UDP
496 #undef WITH_SCTP
497 #undef WITH_LISTEN
498 #undef WITH_SOCKS4
499 #undef WITH_SOCKS4A
500 #undef WITH_PROXY
501 #undef WITH_EXEC
502 #undef WITH_SYSTEM
503 #undef WITH_READLINE
504 #undef WITH_TUN
505 #undef WITH_PTY
506 #undef WITH_EXT2
507 #undef WITH_OPENSSL
508 #define WITH_STREAMS 1
509 #undef WITH_FIPS
510 #undef OPENSSL_FIPS
511 #undef WITH_LIBWRAP
512 #undef HAVE_TCPD_H
513 #undef HAVE_LIBWRAP
515 #undef WITH_SYCLS
516 #undef WITH_FILAN
517 #undef WITH_RETRY
519 #undef WITH_MSGLEVEL
521 #endif /* !defined(__config_h_included) */