popt  1.16
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
 
poptArgv leftovers
 
int numLeftovers
 
int nextLeftover
 
const struct poptOptionoptions
 
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_setarg_strip
 

Detailed Description

Definition at line 115 of file poptint.h.

Field Documentation

◆ aliases

poptItem poptContext_s::aliases

◆ appName

const char* poptContext_s::appName

◆ arg_strip

pbm_set* poptContext_s::arg_strip

◆ doExec

poptItem poptContext_s::doExec

Definition at line 142 of file poptint.h.

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

◆ execAbsolute

int poptContext_s::execAbsolute

Definition at line 145 of file poptint.h.

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

◆ execPath

const char* poptContext_s::execPath

Definition at line 144 of file poptint.h.

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

◆ execs

poptItem poptContext_s::execs

◆ finalArgv

poptArgv poptContext_s::finalArgv

◆ finalArgvAlloced

int poptContext_s::finalArgvAlloced

Definition at line 138 of file poptint.h.

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

◆ finalArgvCount

int poptContext_s::finalArgvCount

Definition at line 137 of file poptint.h.

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

◆ flags

unsigned int poptContext_s::flags

Definition at line 131 of file poptint.h.

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

◆ leftovers

poptArgv poptContext_s::leftovers

◆ maincall

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

Definition at line 140 of file poptint.h.

Referenced by poptGetNextOpt(), and poptSaveArg().

◆ nextLeftover

int poptContext_s::nextLeftover

Definition at line 122 of file poptint.h.

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

◆ numAliases

int poptContext_s::numAliases

◆ numExecs

int poptContext_s::numExecs

◆ numLeftovers

int poptContext_s::numLeftovers

◆ options

const struct poptOption* poptContext_s::options

Definition at line 124 of file poptint.h.

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

◆ optionStack

struct optionStackEntry poptContext_s::optionStack[POPT_OPTION_DEPTH]

◆ os

struct optionStackEntry* poptContext_s::os

◆ otherHelp

const char* poptContext_s::otherHelp

Definition at line 147 of file poptint.h.

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

◆ restLeftover

int poptContext_s::restLeftover

Definition at line 125 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.17