poptContext_s(3)
| poptContext_s(3) | Library Functions Manual | poptContext_s(3) |
NAME
poptContext_s
SYNOPSIS
#include <src/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
char * execFail
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
Detailed Description
Definition at line 92 of file poptint.h.
Field Documentation
poptItem poptContext_s::aliases
Definition at line 101 of file poptint.h.
Referenced by handleAlias(), poptAddItem(), poptFreeContext(), poptGetContext(), poptPrintUsage(), and singleTableHelp().
const char* poptContext_s::appName
Definition at line 100 of file poptint.h.
Referenced by configAppMatch(), poptConfigLine(), poptFreeContext(), poptGetContext(), and poptReadDefaultConfig().
pbm_set* poptContext_s::arg_strip
Definition at line 115 of file poptint.h.
Referenced by poptFreeContext(), poptGetContext(), poptResetContext(), poptStripArg(), and poptStrippedArgv().
poptItem poptContext_s::doExec
Definition at line 111 of file poptint.h.
Referenced by execCommand(), handleExec(), poptBadOption(), poptGetNextOpt(), and poptResetContext().
int poptContext_s::execAbsolute
Definition at line 113 of file poptint.h.
Referenced by execCommand(), poptGetContext(), and poptSetExecPath().
char* poptContext_s::execFail
Definition at line 106 of file poptint.h.
Referenced by execCommand(), poptBadOption(), poptGetContext(), and poptResetContext().
const char* poptContext_s::execPath
Definition at line 112 of file poptint.h.
Referenced by execCommand(), poptFreeContext(), and poptSetExecPath().
poptItem poptContext_s::execs
Definition at line 104 of file poptint.h.
Referenced by handleExec(), poptAddItem(), poptFreeContext(), poptGetContext(), poptPrintUsage(), and singleTableHelp().
poptArgv poptContext_s::finalArgv
Definition at line 107 of file poptint.h.
Referenced by execCommand(), handleExec(), poptFreeContext(), poptGetContext(), poptGetNextOpt(), and poptResetContext().
int poptContext_s::finalArgvAlloced
Definition at line 109 of file poptint.h.
Referenced by handleExec(), poptGetContext(), and poptGetNextOpt().
int poptContext_s::finalArgvCount
Definition at line 108 of file poptint.h.
Referenced by execCommand(), handleExec(), poptGetNextOpt(), and poptResetContext().
unsigned int poptContext_s::flags
Definition at line 103 of file poptint.h.
Referenced by handleExec(), poptGetContext(), poptGetNextOpt(), and showHelpIntro().
poptArgv poptContext_s::leftovers
Definition at line 95 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 110 of file poptint.h.
Referenced by poptGetNextOpt(), and poptSaveArg().
int poptContext_s::nextLeftover
Definition at line 97 of file poptint.h.
Referenced by poptBitsArgs(), poptGetArg(), poptGetArgs(), poptPeekArg(), and poptResetContext().
int poptContext_s::numAliases
Definition at line 102 of file poptint.h.
Referenced by handleAlias(), poptAddItem(), poptFreeContext(), poptGetContext(), poptPrintUsage(), and singleTableHelp().
int poptContext_s::numExecs
Definition at line 105 of file poptint.h.
Referenced by handleExec(), poptAddItem(), poptFreeContext(), poptGetContext(), poptPrintUsage(), and singleTableHelp().
int poptContext_s::numLeftovers
Definition at line 96 of file poptint.h.
Referenced by execCommand(), poptBitsArgs(), poptGetArg(), poptGetArgs(), poptGetNextOpt(), poptPeekArg(), and poptResetContext().
const struct poptOption* poptContext_s::options
Definition at line 98 of file poptint.h.
Referenced by poptGetContext(), poptGetNextOpt(), poptPrintHelp(), and poptPrintUsage().
struct optionStackEntry poptContext_s::optionStack[POPT_OPTION_DEPTH]
Definition at line 93 of file poptint.h.
Referenced by findNextArg(), handleAlias(), poptBadOption(), poptGetContext(), poptGetNextOpt(), poptResetContext(), poptStripArg(), poptStuffArgs(), and showHelpIntro().
struct optionStackEntry* poptContext_s::os
Definition at line 94 of file poptint.h.
Referenced by findNextArg(), handleAlias(), invokeCallbacksOPTION(), poptArgInfo(), poptBadOption(), poptGetContext(), poptGetInvocationName(), poptGetNextOpt(), poptGetOptArg(), poptResetContext(), poptSaveArg(), and poptStuffArgs().
const char* poptContext_s::otherHelp
Definition at line 114 of file poptint.h.
Referenced by poptFreeContext(), poptPrintHelp(), poptPrintUsage(), and poptSetOtherOptionHelp().
int poptContext_s::restLeftover
Definition at line 99 of file poptint.h.
Referenced by poptGetNextOpt(), and poptResetContext().
Author
Generated automatically by Doxygen for popt from the source code.
| Version 1.18 | popt |
