popt
1.16
|
#include <poptint.h>
Data Fields | |
struct optionStackEntry | optionStack [POPT_OPTION_DEPTH] |
struct optionStackEntry * | os |
poptArgv | leftovers |
int | numLeftovers |
int | nextLeftover |
const struct poptOption * | options |
int | restLeftover |
const char * | appName |
poptItem | aliases |
int | numAliases |
unsigned int | flags |
poptItem | execs |
int | numExecs |
poptArgv | finalArgv |
int | finalArgvCount |
int | finalArgvAlloced |
int(* | maincall )(int argc, const char **argv) |
poptItem | doExec |
const char * | execPath |
int | execAbsolute |
const char * | otherHelp |
pbm_set * | arg_strip |
poptItem poptContext_s::aliases |
Definition at line 129 of file poptint.h.
Referenced by handleAlias(), poptAddItem(), poptFreeContext(), poptGetContext(), poptPrintUsage(), and singleTableHelp().
const char* poptContext_s::appName |
Definition at line 127 of file poptint.h.
Referenced by configAppMatch(), poptConfigLine(), poptFreeContext(), poptGetContext(), and poptReadDefaultConfig().
pbm_set* poptContext_s::arg_strip |
Definition at line 149 of file poptint.h.
Referenced by poptFreeContext(), poptGetContext(), poptResetContext(), poptStripArg(), and poptStrippedArgv().
poptItem poptContext_s::doExec |
Definition at line 142 of file poptint.h.
Referenced by execCommand(), handleExec(), poptGetNextOpt(), and poptResetContext().
int poptContext_s::execAbsolute |
Definition at line 145 of file poptint.h.
Referenced by execCommand(), poptGetContext(), and poptSetExecPath().
const char* poptContext_s::execPath |
Definition at line 144 of file poptint.h.
Referenced by execCommand(), poptFreeContext(), and poptSetExecPath().
poptItem poptContext_s::execs |
Definition at line 133 of file poptint.h.
Referenced by handleExec(), poptAddItem(), poptFreeContext(), poptGetContext(), poptPrintUsage(), and singleTableHelp().
poptArgv poptContext_s::finalArgv |
Definition at line 136 of file poptint.h.
Referenced by execCommand(), handleExec(), poptFreeContext(), poptGetContext(), poptGetNextOpt(), and poptResetContext().
int poptContext_s::finalArgvAlloced |
Definition at line 138 of file poptint.h.
Referenced by handleExec(), poptGetContext(), and poptGetNextOpt().
int poptContext_s::finalArgvCount |
Definition at line 137 of file poptint.h.
Referenced by execCommand(), handleExec(), poptGetNextOpt(), and poptResetContext().
unsigned int poptContext_s::flags |
Definition at line 131 of file poptint.h.
Referenced by handleExec(), poptGetContext(), poptGetNextOpt(), and showHelpIntro().
poptArgv poptContext_s::leftovers |
Definition at line 120 of file poptint.h.
Referenced by execCommand(), poptBitsArgs(), poptFreeContext(), poptGetArg(), poptGetArgs(), poptGetContext(), poptGetNextOpt(), and poptPeekArg().
int(* poptContext_s::maincall) (int argc, const char **argv) |
Definition at line 140 of file poptint.h.
Referenced by poptGetNextOpt(), and poptSaveArg().
int poptContext_s::nextLeftover |
Definition at line 122 of file poptint.h.
Referenced by poptBitsArgs(), poptGetArg(), poptGetArgs(), poptPeekArg(), and poptResetContext().
int poptContext_s::numAliases |
Definition at line 130 of file poptint.h.
Referenced by handleAlias(), poptAddItem(), poptFreeContext(), poptGetContext(), poptPrintUsage(), and singleTableHelp().
int poptContext_s::numExecs |
Definition at line 134 of file poptint.h.
Referenced by handleExec(), poptAddItem(), poptFreeContext(), poptGetContext(), poptPrintUsage(), and singleTableHelp().
int poptContext_s::numLeftovers |
Definition at line 121 of file poptint.h.
Referenced by execCommand(), poptBitsArgs(), poptGetArg(), poptGetArgs(), poptGetNextOpt(), poptPeekArg(), and poptResetContext().
const struct poptOption* poptContext_s::options |
Definition at line 124 of file poptint.h.
Referenced by poptGetContext(), poptGetNextOpt(), poptPrintHelp(), and poptPrintUsage().
struct optionStackEntry poptContext_s::optionStack[POPT_OPTION_DEPTH] |
Definition at line 116 of file poptint.h.
Referenced by findNextArg(), handleAlias(), poptBadOption(), poptGetContext(), poptGetNextOpt(), poptResetContext(), poptStripArg(), poptStuffArgs(), and showHelpIntro().
struct optionStackEntry* poptContext_s::os |
Definition at line 118 of file poptint.h.
Referenced by findNextArg(), handleAlias(), invokeCallbacksOPTION(), poptArgInfo(), poptBadOption(), poptFreeContext(), poptGetContext(), poptGetInvocationName(), poptGetNextOpt(), poptGetOptArg(), poptResetContext(), poptSaveArg(), poptStuffArgs(), and strerror().
const char* poptContext_s::otherHelp |
Definition at line 147 of file poptint.h.
Referenced by poptFreeContext(), poptPrintHelp(), poptPrintUsage(), and poptSetOtherOptionHelp().
int poptContext_s::restLeftover |
Definition at line 125 of file poptint.h.
Referenced by poptGetNextOpt(), and poptResetContext().