home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser-CD 2000 January / LCD_01_2000.iso / pd / 308 / mgw_021b / options.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-18  |  1.4 KB  |  82 lines

  1.  
  2. # ifndef _options_h
  3. # define _options_h
  4.  
  5. typedef struct options CFG_OPT;
  6. struct options
  7. {
  8.     long dcfg;
  9.     char provider[21];
  10.     
  11.     /* Connect options */
  12.     char user[36];
  13.     char password[36];
  14.     char phone_no[21];
  15.     char term_before;
  16.     char term_after;
  17.     
  18.     /* Modem configuration */
  19.     char modem_init[50];
  20.     char modem_dial[50];
  21.     char modem_hangup[50];
  22.     char modem_cmdok[50];
  23.     char modem_conmsg[50];
  24.     char modem_fail1[50];
  25.     char modem_fail2[50];
  26.     
  27.     /* RS232 settings */
  28.     int port;
  29.     int baud;
  30.     int parity;
  31.     int bits;
  32.     int stopbits;
  33.     
  34.     /* Protocol options */
  35.     long prot_cookie;
  36.     int  protocol;
  37.     char ip_compression;
  38.     char soft_compression;  
  39.     
  40.     /* Gateway options */
  41.     unsigned long nameserver1;
  42.     unsigned long nameserver2;
  43.     unsigned long target1, gateway1;
  44.     unsigned long target2, gateway2;
  45.     unsigned long target3, gateway3;
  46.     unsigned long std_gateway;
  47.     int subnet1, subnet2, subnet3;
  48.     char default_gw;
  49.     
  50.     /* TCP options */
  51.     char ip_assign;
  52.     unsigned long ip;
  53.     unsigned long subnet;       
  54.     char host[21];
  55.     char domain[21];
  56.     
  57.     /* Proxys */
  58.     char http[41];
  59.     char http_port[5];
  60.     char ftp[41];
  61.     char ftp_port[5];
  62.     char gopher[41];
  63.     char gopher_port[5];
  64.     char secure[41];
  65.     char secure_port[5];
  66.     char exclude[3][47];
  67.     
  68.     /* Mail */
  69.     char email[43];
  70.     char email2[43];
  71.     char mailpass[43];
  72.     char popuser[43];
  73.     char popserver[43];
  74.     char smtpserver[43];
  75.     
  76.     int  timeout;
  77.     char netlogon, force_enc, tonline;
  78.     
  79. };
  80.  
  81. # endif /* _options_h */
  82.