poptOption Struct Reference

#include <popt.h>


Data Fields

const char * longName
char shortName
unsigned int argInfo
void * arg
int val
const char * descrip
const char * argDescrip


Detailed Description

Definition at line 117 of file popt.h.


Field Documentation

const char* poptOption::longName

may be NULL

Definition at line 119 of file popt.h.

Referenced by findOption(), handleAlias(), handleExec(), invokeCallbacksOPTION(), invokeCallbacksPOST(), itemHelp(), itemUsage(), and singleOptionUsage().

char poptOption::shortName

may be NUL

Definition at line 120 of file popt.h.

Referenced by displayArgs(), findOption(), handleAlias(), handleExec(), invokeCallbacksOPTION(), invokeCallbacksPOST(), itemHelp(), itemUsage(), and showShortOptions().

unsigned int poptOption::argInfo

Definition at line 121 of file popt.h.

Referenced by findOption(), invokeCallbacksOPTION(), invokeCallbacksPOST(), itemHelp(), itemUsage(), showShortOptions(), and singleOptionUsage().

void* poptOption::arg

depends on argInfo

Definition at line 123 of file popt.h.

Referenced by findOption(), invokeCallbacksOPTION(), invokeCallbacksPOST(), itemUsage(), and showShortOptions().

int poptOption::val

0 means don't return, just update flag

Definition at line 124 of file popt.h.

const char* poptOption::descrip

description for autohelp -- may be NULL

Definition at line 126 of file popt.h.

Referenced by findOption(), invokeCallbacksOPTION(), and invokeCallbacksPOST().

const char* poptOption::argDescrip

argument description for autohelp

Definition at line 128 of file popt.h.

Referenced by getArgDescrip().


The documentation for this struct was generated from the following file:
Generated on Mon Nov 26 16:54:14 2007 for popt by  doxygen 1.5.4