vde_autolink: Add missing null entry in getopt_long array.
[vde.git] / vde-2 / src / slirpvde / slirp_config.h
blob0dad6dab7234628cfe92b4f6ccb6d9df1cdcbaaa
1 /*
2 * User definable configuration options
3 */
5 #include <config.h>
6 /* Define if you want the connection to be probed */
7 /* XXX Not working yet, so ignore this for now */
8 #undef PROBE_CONN
10 /* Define to 1 if you want KEEPALIVE timers */
11 #define DO_KEEPALIVE 0
13 /* Define to MAX interfaces you expect to use at once */
14 /* MAX_INTERFACES determines the max. TOTAL number of interfaces (SLIP and PPP) */
15 /* MAX_PPP_INTERFACES determines max. number of PPP interfaces */
16 #define MAX_INTERFACES 1
17 #define MAX_PPP_INTERFACES 1
19 /* Define if you want slirp's socket in /tmp */
20 /* XXXXXX Do this in ./configure */
21 #undef USE_TMPSOCKET
23 /* Define if you want slirp to use cfsetXspeed() on the terminal */
24 #undef DO_CFSETSPEED
26 /* Define this if you want slirp to write to the tty as fast as it can */
27 /* This should only be set if you are using load-balancing, slirp does a */
28 /* pretty good job on single modems already, and seting this will make */
29 /* interactive sessions less responsive */
30 /* XXXXX Talk about having fast modem as unit 0 */
31 #undef FULL_BOLT
34 * Define if you want slirp to use less CPU
35 * You will notice a small lag in interactive sessions, but it's not that bad
36 * Things like Netscape/ftp/etc. are completely unaffected
37 * This is mainly for sysadmins who have many slirp users
39 #undef USE_LOWCPU
41 /* Define this if your compiler doesn't like prototypes */
42 #ifndef __STDC__
43 #define NO_PROTOTYPES
44 #endif
46 #if 0
47 /*********************************************************/
49 * Autoconf defined configuration options
50 * You shouldn't need to touch any of these
53 /* Ignore this */
54 #undef DUMMY_PPP
56 /* Define if you have unistd.h */
57 #define HAVE_UNISTD_H
59 /* Define if you have stdlib.h */
60 #define HAVE_STDLIB_H
62 /* Define if you have sys/ioctl.h */
63 #undef HAVE_SYS_IOCTL_H
64 #ifndef _WIN32
65 #define HAVE_SYS_IOCTL_H
66 #endif
68 /* Define if you have sys/filio.h */
69 #undef HAVE_SYS_FILIO_H
70 #ifdef __APPLE__
71 #define HAVE_SYS_FILIO_H
72 #endif
74 /* Define if you have strerror */
75 #define HAVE_STRERROR
77 /* Define if you have strdup() */
78 #define HAVE_STRDUP
80 /* Define according to how time.h should be included */
81 #define TIME_WITH_SYS_TIME 0
82 #undef HAVE_SYS_TIME_H
84 /* Define if you have sys/bitypes.h */
85 #undef HAVE_SYS_BITYPES_H
87 /* Define if the machine is big endian */
88 //#undef HOST_WORDS_BIGENDIAN
90 /* Define if your sprintf returns char * instead of int */
91 #undef BAD_SPRINTF
93 /* Define if you have readv */
94 #undef HAVE_READV
96 /* Define if iovec needs to be declared */
97 #undef DECLARE_IOVEC
98 #ifdef _WIN32
99 #define DECLARE_IOVEC
100 #endif
102 /* Define if a declaration of sprintf/fprintf is needed */
103 #undef DECLARE_SPRINTF
105 /* Define if you have a POSIX.1 sys/wait.h */
106 #undef HAVE_SYS_WAIT_H
108 /* Define if you have sys/select.h */
109 #undef HAVE_SYS_SELECT_H
110 #ifndef _WIN32
111 #define HAVE_SYS_SELECT_H
112 #endif
114 /* Define if you have strings.h */
115 #define HAVE_STRING_H
117 /* Define if you have arpa/inet.h */
118 #undef HAVE_ARPA_INET_H
119 #ifndef _WIN32
120 #define HAVE_ARPA_INET_H
121 #endif
123 /* Define if you have sys/signal.h */
124 #undef HAVE_SYS_SIGNAL_H
126 /* Define if you have sys/stropts.h */
127 #undef HAVE_SYS_STROPTS_H
129 /* Define to whatever your compiler thinks inline should be */
130 //#define inline inline
132 /* Define to whatever your compiler thinks const should be */
133 //#define const const
135 /* Define if your compiler doesn't like prototypes */
136 #undef NO_PROTOTYPES
138 /* Define if you don't have u_int32_t etc. typedef'd */
139 #undef NEED_TYPEDEFS
140 #ifdef __sun__
141 #define NEED_TYPEDEFS
142 #endif
144 /* Define to sizeof(char) */
145 #define SIZEOF_CHAR 1
147 /* Define to sizeof(short) */
148 #define SIZEOF_SHORT 2
150 /* Define to sizeof(int) */
151 #define SIZEOF_INT 4
153 /* Define to sizeof(char *) */
154 #define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)
156 /* Define if you have random() */
157 #undef HAVE_RANDOM
159 /* Define if you have srandom() */
160 #undef HAVE_SRANDOM
162 /* Define if you have inet_aton */
163 #undef HAVE_INET_ATON
164 #ifndef _WIN32
165 #define HAVE_INET_ATON
166 #endif
168 /* Define if you have setenv */
169 #undef HAVE_SETENV
171 /* Define if you have index() */
172 #define HAVE_INDEX
174 /* Define if you have bcmp() */
175 #undef HAVE_BCMP
177 /* Define if you have drand48 */
178 #undef HAVE_DRAND48
180 /* Define if you have memmove */
181 #define HAVE_MEMMOVE
183 /* Define if you have gethostid */
184 #define HAVE_GETHOSTID
186 /* Define if you DON'T have unix-domain sockets */
187 #undef NO_UNIX_SOCKETS
188 #ifdef _WIN32
189 #define NO_UNIX_SOCKETS
190 #endif
192 /* Define if you have revoke() */
193 #undef HAVE_REVOKE
195 /* Define if you have the sysv method of opening pty's (/dev/ptmx, etc.) */
196 #undef HAVE_GRANTPT
198 /* Define if you have fchmod */
199 #undef HAVE_FCHMOD
201 /* Define if you have <sys/type32.h> */
202 #undef HAVE_SYS_TYPES32_H
203 #endif