popt  1.13
Data Fields
poptContext_s Struct Reference

#include <poptint.h>

Collaboration diagram for poptContext_s:
Collaboration graph
[legend]

Data Fields

struct optionStackEntry optionStack [POPT_OPTION_DEPTH]
struct optionStackEntryos
const char ** leftovers
int numLeftovers
int nextLeftover
struct poptOptionoptions
int restLeftover
const char * appName
poptItem aliases
int numAliases
unsigned int flags
poptItem execs
int numExecs
char * execFail
const char ** finalArgv
int finalArgvCount
int finalArgvAlloced
int(* maincall )(int argc, const char **argv)
poptItem doExec
const char * execPath
int execAbsolute
const char * otherHelp
pbm_setarg_strip

Detailed Description

Definition at line 61 of file poptint.h.

Field Documentation

poptItem poptContext_s::aliases
const char* poptContext_s::appName

Definition at line 73 of file poptint.h.

Referenced by configLine(), poptFreeContext(), poptGetContext(), and poptReadDefaultConfig().

pbm_set* poptContext_s::arg_strip
poptItem poptContext_s::doExec

Definition at line 88 of file poptint.h.

Referenced by execCommand(), handleExec(), poptGetNextOpt(), and poptResetContext().

int poptContext_s::execAbsolute

Definition at line 91 of file poptint.h.

Referenced by execCommand(), poptGetContext(), and poptSetExecPath().

char* poptContext_s::execFail

Definition at line 81 of file poptint.h.

Referenced by execCommand(), poptBadOption(), poptGetContext(), and poptResetContext().

const char* poptContext_s::execPath

Definition at line 90 of file poptint.h.

Referenced by execCommand(), poptFreeContext(), and poptSetExecPath().

poptItem poptContext_s::execs
const char** poptContext_s::finalArgv
int poptContext_s::finalArgvAlloced

Definition at line 85 of file poptint.h.

Referenced by handleExec(), poptGetContext(), and poptGetNextOpt().

int poptContext_s::finalArgvCount

Definition at line 84 of file poptint.h.

Referenced by execCommand(), handleExec(), poptGetNextOpt(), and poptResetContext().

unsigned int poptContext_s::flags

Definition at line 77 of file poptint.h.

Referenced by handleExec(), poptGetContext(), poptGetNextOpt(), and showHelpIntro().

const char** poptContext_s::leftovers
int(* poptContext_s::maincall)(int argc, const char **argv)

Definition at line 86 of file poptint.h.

Referenced by poptGetNextOpt().

int poptContext_s::nextLeftover

Definition at line 68 of file poptint.h.

Referenced by poptGetArg(), poptGetArgs(), poptPeekArg(), and poptResetContext().

int poptContext_s::numAliases
int poptContext_s::numExecs
int poptContext_s::numLeftovers
struct poptOption* poptContext_s::options

Definition at line 70 of file poptint.h.

Referenced by poptGetContext(), poptGetNextOpt(), poptPrintHelp(), and poptPrintUsage().

struct optionStackEntry poptContext_s::optionStack[POPT_OPTION_DEPTH]
struct optionStackEntry* poptContext_s::os
const char* poptContext_s::otherHelp

Definition at line 93 of file poptint.h.

Referenced by poptFreeContext(), poptPrintHelp(), poptPrintUsage(), and poptSetOtherOptionHelp().

int poptContext_s::restLeftover

Definition at line 71 of file poptint.h.

Referenced by poptGetNextOpt(), and poptResetContext().


The documentation for this struct was generated from the following file:

Generated for popt by  doxygen 1.8.1.2