Annotation of previous/src/slirp/slirp_config.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * User definable configuration options
                      3:  */
                      4: 
                      5: /* Undefine if you don't want talk emulation */
                      6: #undef EMULATE_TALK
                      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: /* XXX: Define according to how time.h should be included */
                     58: #undef TIME_WITH_SYS_TIME
                     59: #define TIME_WITH_SYS_TIME 0
                     60: #undef HAVE_SYS_TIME_H
                     61: 
                     62: /* Define if your sprintf returns char * instead of int */
                     63: #undef BAD_SPRINTF
                     64: 
                     65: /* Define if you have readv */
                     66: #undef HAVE_READV
                     67: 
                     68: /* Define if iovec needs to be declared */
                     69: #undef DECLARE_IOVEC
                     70: #ifdef _WIN32
                     71: #define DECLARE_IOVEC
                     72: #endif
                     73: 
                     74: /* Define if a declaration of sprintf/fprintf is needed */
                     75: #undef DECLARE_SPRINTF
                     76: 
                     77: /* Define if you have sys/stropts.h */
                     78: #undef HAVE_SYS_STROPTS_H
                     79: 
                     80: /* Define if your compiler doesn't like prototypes */
                     81: #undef NO_PROTOTYPES
                     82: 
                     83: /* Define if you don't have u_int32_t etc. typedef'd */
                     84: #undef NEED_TYPEDEFS
                     85: #ifdef __sun__
                     86: #define NEED_TYPEDEFS
                     87: #endif
                     88: 
                     89: /* Define to sizeof(char *) */
                     90: #define SIZEOF_CHAR_P SIZEOF_VOID_P
                     91: 
                     92: /* Define if you have random() */
                     93: #undef HAVE_RANDOM
                     94: 
                     95: /* Define if you have srandom() */
                     96: #undef HAVE_SRANDOM
                     97: 
                     98: /* Define if you have setenv */
                     99: #undef HAVE_SETENV
                    100: 
                    101: /* Define if you have index() */
                    102: #undef HAVE_INDEX
                    103: 
                    104: /* Define if you have bcmp() */
                    105: #undef HAVE_BCMP
                    106: 
                    107: /* Define if you have drand48 */
                    108: #undef HAVE_DRAND48
                    109: 
                    110: /* Define if you have memmove */
                    111: #define HAVE_MEMMOVE
                    112: 
                    113: /* Define if you have gethostid */
                    114: #undef HAVE_GETHOSTID
                    115: 
                    116: /* Define if you DON'T have unix-domain sockets */
                    117: #undef NO_UNIX_SOCKETS
                    118: #ifdef _WIN32
                    119: #define NO_UNIX_SOCKETS
                    120: #endif
                    121: 
                    122: /* Define if gettimeofday only takes one argument */
                    123: #undef GETTIMEOFDAY_ONE_ARG
                    124: 
                    125: /* Define if you have revoke() */
                    126: #undef HAVE_REVOKE
                    127: 
                    128: /* Define if you have the sysv method of opening pty's (/dev/ptmx, etc.) */
                    129: #undef HAVE_GRANTPT
                    130: 
                    131: /* Define if you have fchmod */
                    132: #undef HAVE_FCHMOD
                    133: 
                    134: /* Define if you have <sys/type32.h> */
                    135: #undef HAVE_SYS_TYPES32_H

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.