"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "slirp-1.0.16/src/config.h.in" of archive slirp-1.0.16.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /*
    2  * User definable configuration options
    3  */
    4 
    5 /* Undefine if you don't want talk emulation */
    6 #define EMULATE_TALK 1
    7 
    8 /* Define if you want the connection to be probed */
    9 /* XXX Not working yet, so ignore this for now */
   10 #undef PROBE_CONN
   11 
   12 /* Define to 1 if you want KEEPALIVE timers */
   13 #define DO_KEEPALIVE 0
   14 
   15 /* Define to MAX interfaces you expect to use at once */
   16 /* MAX_INTERFACES determines the max. TOTAL number of interfaces (SLIP and PPP) */
   17 /* MAX_PPP_INTERFACES determines max. number of PPP interfaces */
   18 #define MAX_INTERFACES 1
   19 #define MAX_PPP_INTERFACES 1
   20 
   21 /* Define if you want slirp's socket in /tmp */
   22 /* XXXXXX Do this in ./configure */
   23 #undef USE_TMPSOCKET
   24 
   25 /* Define if you want slirp to use cfsetXspeed() on the terminal */
   26 #undef DO_CFSETSPEED
   27 
   28 /* Define this if you want slirp to write to the tty as fast as it can */
   29 /* This should only be set if you are using load-balancing, slirp does a */
   30 /* pretty good job on single modems already, and seting this will make */
   31 /* interactive sessions less responsive */
   32 /* XXXXX Talk about having fast modem as unit 0 */
   33 #undef FULL_BOLT
   34 
   35 /*
   36  * Define if you want slirp to use less CPU
   37  * You will notice a small lag in interactive sessions, but it's not that bad
   38  * Things like Netscape/ftp/etc. are completely unaffected
   39  * This is mainly for sysadmins who have many slirp users
   40  */
   41 #undef USE_LOWCPU
   42 
   43 /* Define this if your compiler doesn't like prototypes */
   44 #ifndef __STDC__
   45 #define NO_PROTOTYPES
   46 #endif
   47 
   48 /*********************************************************/
   49 /*
   50  * Autoconf defined configuration options
   51  * You shouldn't need to touch any of these
   52  */
   53 
   54 /* Ignore this */
   55 #undef DUMMY_PPP
   56 
   57 /* Define if you have unistd.h */
   58 #undef HAVE_UNISTD_H
   59 
   60 /* Define if you have stdlib.h */
   61 #undef HAVE_STDLIB_H
   62 
   63 /* Define if you have sys/ioctl.h */
   64 #undef HAVE_SYS_IOCTL_H
   65 
   66 /* Define if you have sys/filio.h */
   67 #undef HAVE_SYS_FILIO_H
   68 
   69 /* Define if you have strerror */
   70 #undef HAVE_STRERROR
   71 
   72 /* Define if you have strdup() */
   73 #undef HAVE_STRDUP
   74 
   75 /* Define according to how time.h should be included */
   76 #undef TIME_WITH_SYS_TIME
   77 #undef HAVE_SYS_TIME_H
   78 
   79 /* Define if you have sys/bitypes.h */
   80 #undef HAVE_SYS_BITYPES_H
   81 
   82 /* Define if the machine is big endian */
   83 #undef WORDS_BIGENDIAN
   84 
   85 /* Define if your sprintf returns char * instead of int */
   86 #undef BAD_SPRINTF
   87 
   88 /* Define if you have readv */
   89 #undef HAVE_READV
   90 
   91 /* Define if iovec needs to be declared */
   92 #undef DECLARE_IOVEC
   93 
   94 /* Define if a declaration of sprintf/fprintf is needed */
   95 #undef DECLARE_SPRINTF
   96 
   97 /* Define if you have a POSIX.1 sys/wait.h */
   98 #undef HAVE_SYS_WAIT_H
   99 
  100 /* Define if you have sys/select.h */
  101 #undef HAVE_SYS_SELECT_H
  102 
  103 /* Define if you have strings.h */
  104 #undef HAVE_STRING_H
  105 
  106 /* Define if you have arpa/inet.h */
  107 #undef HAVE_ARPA_INET_H
  108 
  109 /* Define if you have sys/signal.h */
  110 #undef HAVE_SYS_SIGNAL_H
  111 
  112 /* Define if you have sys/stropts.h */
  113 #undef HAVE_SYS_STROPTS_H
  114 
  115 /* Define to whatever your compiler thinks inline should be */
  116 #define inline inline
  117 
  118 /* Define to whatever your compiler thinks const should be */
  119 #define const const
  120 
  121 /* Define if your compiler doesn't like prototypes */
  122 #undef NO_PROTOTYPES
  123 
  124 /* Define if you don't have u_int32_t etc. typedef'd */
  125 #undef NEED_TYPEDEFS
  126 
  127 /* Define to sizeof(char) */
  128 #undef SIZEOF_CHAR
  129 
  130 /* Define to sizeof(short) */
  131 #undef SIZEOF_SHORT
  132 
  133 /* Define to sizeof(int) */
  134 #undef SIZEOF_INT
  135 
  136 /* Define to sizeof(char *) */
  137 #undef SIZEOF_CHAR_P
  138 
  139 /* Define if you have random() */
  140 #undef HAVE_RANDOM
  141 
  142 /* Define if you have srandom() */
  143 #undef HAVE_SRANDOM
  144 
  145 /* Define if you have inet_aton */
  146 #undef HAVE_INET_ATON
  147 
  148 /* Define if you have setenv */
  149 #undef HAVE_SETENV
  150 
  151 /* Define if you have index() */
  152 #undef HAVE_INDEX
  153 
  154 /* Define if you have bcmp() */
  155 #undef HAVE_BCMP
  156 
  157 /* Define if you have drand48 */
  158 #undef HAVE_DRAND48
  159 
  160 /* Define if you have memmove */
  161 #undef HAVE_MEMMOVE
  162 
  163 /* Define if you have <termios.h> */
  164 #undef HAVE_TERMIOS_H
  165 
  166 /* Define if you have gethostid */
  167 #undef HAVE_GETHOSTID
  168 
  169 /* Define if you DON'T have unix-domain sockets */
  170 #undef NO_UNIX_SOCKETS
  171 
  172 /* Define if gettimeofday only takes one argument */
  173 #undef GETTIMEOFDAY_ONE_ARG
  174 
  175 /* Define if you have revoke() */
  176 #undef HAVE_REVOKE
  177 
  178 /* Define if you have the sysv method of opening pty's (/dev/ptmx, etc.) */
  179 #undef HAVE_GRANTPT
  180 
  181 /* Define if you have fchmod */
  182 #undef HAVE_FCHMOD
  183 
  184 /* Define if you have <sys/type32.h> */
  185 #undef HAVE_SYS_TYPES32_H