apr_getopt_t Struct Reference
[Command Argument Parsing]

#include <apr_getopt.h>


Data Fields

apr_pool_tcont
apr_getopt_err_fn_terrfn
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 Description

Structure to store command line argument information.

Field Documentation

count of arguments

const char** apr_getopt_t::argv

array of pointers to arguments

context for processing

user defined first arg to pass to error message

function to print error message (NULL == no messages)

index into parent argv vector

set to nonzero to support interleaving options with regular args

character checked for validity

char const* apr_getopt_t::place

argument associated with option

reset getopt

end of non-option arguments skipped for interleaving

start of non-option arguments skipped for interleaving


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

Generated on Mon Dec 14 23:13:50 2009 for Apache Portable Runtime by  doxygen 1.5.8