poptOption Struct Reference
[POPT.]

#include <popt.h>


Data Fields

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


Detailed Description

Definition at line 114 of file popt.h.


Field Documentation

const char* poptOption::longName

may be NULL

Definition at line 116 of file popt.h.

Referenced by configLine(), db3New(), findOption(), getTableTranslationDomain(), handleAlias(), handleExec(), poptAddItem(), poptFreeContext(), poptGetNextOpt(), and prDbiOpenFlags().

char poptOption::shortName

may be NUL

Definition at line 117 of file popt.h.

Referenced by configLine(), displayArgs(), findOption(), getTableTranslationDomain(), handleAlias(), handleExec(), poptAddItem(), and poptGetNextOpt().

int poptOption::argInfo

Definition at line 118 of file popt.h.

Referenced by configLine(), db3New(), findOption(), getArgDescrip(), getTableTranslationDomain(), poptAddItem(), poptGetNextOpt(), prDbiOpenFlags(), and singleOptionDefaultValue().

void* poptOption::arg

depends on argInfo

Definition at line 120 of file popt.h.

Referenced by db3New(), findOption(), getTableTranslationDomain(), installArgCallback(), main(), parseDescription(), parseFiles(), parseScript(), poptAddItem(), poptGetNextOpt(), prDbiOpenFlags(), rpmcliAllArgCallback(), and singleOptionDefaultValue().

int poptOption::val

0 means don't return, just update flag

Definition at line 121 of file popt.h.

Referenced by buildArgCallback(), db3New(), installArgCallback(), poptAddItem(), poptGetNextOpt(), prDbiOpenFlags(), queryArgCallback(), rpmcliAllArgCallback(), and rpmQVSourceArgCallback().

const char* poptOption::descrip

description for autohelp -- may be NULL

Definition at line 123 of file popt.h.

Referenced by configLine(), findOption(), poptAddItem(), and poptFreeContext().

const char* poptOption::argDescrip

argument description for autohelp

Definition at line 125 of file popt.h.

Referenced by configLine(), getArgDescrip(), poptAddItem(), and poptFreeContext().


The documentation for this struct was generated from the following file:
Generated on Tue Jan 15 19:55:55 2008 for rpm by  doxygen 1.5.4