struct apr_getopt_t
Overview
Structure to store command line argument information. Moreā¦
#include <apr_getopt.h> struct apr_getopt_t { // fields apr_pool_t* cont; apr_getopt_err_fn_t* errfn; void* errarg; int ind; int opt; int reset; int argc; const char** argv; char const* place; int interleave; int skip_start; int skip_end; };
Detailed Documentation
Structure to store command line argument information.
Fields
apr_pool_t* cont
context for processing
apr_getopt_err_fn_t* errfn
function to print error message (NULL == no messages)
void* errarg
user defined first arg to pass to error message
int ind
index into parent argv vector
int opt
character checked for validity
int reset
reset getopt
int argc
count of arguments
const char** argv
array of pointers to arguments
char const* place
argument associated with option
int interleave
set to nonzero to support interleaving options with regular args
int skip_start
start of non-option arguments skipped for interleaving
int skip_end
end of non-option arguments skipped for interleaving