Go to the source code of this file.
Macros |
#define | GNO_FLG_SWITCH 0x01 |
#define | True 1 |
#define | False 0 |
#define | GNO_BEGIN GnoOption_s _aopt[] = { |
#define | GNO_OPTION(pszsopt, pszlopt, pszdef, ppszv, pszdescr) { 0, 0, 0, pszdef, pszsopt, pszlopt, NULL, ppszv, pszdescr }, |
#define | GNO_SWITCH(pszsopt, pszlopt, fdef, pfv, pszdescr) |
#define | GNO_PARSE(argc, argv) GnoParse( (argc), (argv), _aopt ) |
#define | GNO_END { 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL } }; |
#define | GNO_HELP(pszhead) GnoHelp( pszhead , _aopt ) |
#define | GNO_FREE() GnoFree( _aopt ) |
Macro Definition Documentation
#define GNO_FLG_SWITCH 0x01 |
#define GNO_FREE |
( |
| ) |
GnoFree( _aopt ) |
#define GNO_HELP |
( |
|
pszhead | ) |
GnoHelp( pszhead , _aopt ) |
#define GNO_OPTION |
( |
|
pszsopt, |
|
|
|
pszlopt, |
|
|
|
pszdef, |
|
|
|
ppszv, |
|
|
|
pszdescr |
|
) |
| { 0, 0, 0, pszdef, pszsopt, pszlopt, NULL, ppszv, pszdescr }, |
#define GNO_PARSE |
( |
|
argc, |
|
|
|
argv |
|
) |
| GnoParse( (argc), (argv), _aopt ) |
#define GNO_SWITCH |
( |
|
pszsopt, |
|
|
|
pszlopt, |
|
|
|
fdef, |
|
|
|
pfv, |
|
|
|
pszdescr |
|
) |
| |
Value:{ \
0, \
GNO_FLG_SWITCH, \
pszsopt, pszlopt, \
pszdescr \
},
Definition at line 232 of file opt.h.
Referenced by main().
Typedef Documentation
Function Documentation
int GnoParse |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
GnoOption_s * |
pOpt |
|
) |
| |