OptionDef Struct Reference

#include <cmdutils.h>

Data Fields

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

Detailed Description

Definition at line 144 of file cmdutils.h.

Field Documentation

const char* OptionDef::argname

Definition at line 175 of file cmdutils.h.

Referenced by show_help_options().

void* OptionDef::dst_ptr

Definition at line 170 of file cmdutils.h.

Referenced by write_option().

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

Definition at line 171 of file cmdutils.h.

Referenced by write_option().

const char* OptionDef::help

Definition at line 174 of file cmdutils.h.

Referenced by parse_optgroup(), show_help_options(), and split_commandline().

size_t OptionDef::off

Definition at line 172 of file cmdutils.h.

Referenced by uninit_options(), and write_option().

union { ... } OptionDef::u

Referenced by uninit_options(), and write_option().


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