SilcGetOpt

NAME

    typedef struct SilcGetOptObject { ... } *SilcGetOpt, SilcGetOptStruct;

DESCRIPTION

Command line option parsers structure given to silc_getopt as argument. It contains the current parsed command line option data.

SOURCE

typedef struct SilcGetOptObject {
  int opt_index;                /* Current option index in argv[] array */
  int opt_option;               /* Current option character */
  char *opt_arg;                /* Current parsed option argument */
  SilcBool opt_error;           /* Set this to TRUE to make silc_getopt print
                                   errors or FALSE to suppress them. */

  SilcUInt16 opt_sp;            /* Internal parser index */
} *SilcGetOpt, SilcGetOptStruct;