OptionDef Struct Reference

#include <cmdutils.h>

Data Fields

const char * name
int flags
union {
   void *   dst_ptr
   int(*   func_arg )(const char *, const char *)
   int(*   func2_arg )(void *, const char *, const
      char *)
   size_t   off
u
const char * help
const char * argname

Detailed Description

Definition at line 124 of file cmdutils.h.

Field Documentation

const char* OptionDef::argname

Definition at line 152 of file cmdutils.h.

Referenced by show_help_options().

void* OptionDef::dst_ptr

Definition at line 146 of file cmdutils.h.

Referenced by parse_option().

int OptionDef::flags

Definition at line 126 of file cmdutils.h.

Referenced by locate_option(), parse_option(), reset_options(), and show_help_options().

int(* OptionDef::func2_arg)(void *, const char *, const char *)

Definition at line 148 of file cmdutils.h.

Referenced by parse_option().

int(* OptionDef::func_arg)(const char *, const char *)

Definition at line 147 of file cmdutils.h.

Referenced by parse_option().

const char* OptionDef::help

Definition at line 151 of file cmdutils.h.

Referenced by show_help_options().

const char* OptionDef::name
size_t OptionDef::off

Definition at line 149 of file cmdutils.h.

Referenced by parse_option(), and reset_options().

union { ... } OptionDef::u

Referenced by parse_option(), and reset_options().


The documentation for this struct was generated from the following file: