/[pengfork]/pengfork/include/options.h
ViewVC logotype

Diff of /pengfork/include/options.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by nes, Thu Aug 29 21:18:46 2002 UTC revision 1.4 by nes, Fri Aug 30 01:16:47 2002 UTC
# Line 28  typedef enum Line 28  typedef enum
28  { false = 0, true }  { false = 0, true }
29  bool_t;  bool_t;
30    
 /* command line getopt values */  
 typedef enum  
   {  
     /* use this if no command line option is associated */  
     opt_none = 256,  
     /* letter correspond to short option alias */  
     opt_help = 'h',  
     opt_version = 'V',  
     opt_interface_type = 't',  
     opt_interface_name = 'i',  
     opt_user = 'u',  
     opt_pass = 'p',  
     opt_auto_reconnect = 'r',  
     opt_daemon = 'd',  
     opt_debug_level = 'D',  
     opt_modem = 'm',  
     opt_phone = 'n',  
     opt_speed = 's',  
     opt_server_login = 'l',  
     opt_server_pass = 'w',  
     /* numeric opt_id, not associated with any short option */  
     opt_pid_file = 300,  
     opt_ip_up = 301,  
     opt_ip_down = 302,  
     opt_rtscts = 303,  
     opt_init_str = 304,  
     opt_dial_str = 305  
   } option_e;  
   
31  typedef struct  typedef struct
32  {  {
33    option_e opt_id;    char shortopt;
34      char *longopt;
35    char *name;    char *name;
36    enum    enum
37    { boolean, integer, string }    { boolean, integer, string }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26