apr_getopt_t Struct Reference
[Command Argument Parsing]

#include <apr_getopt.h>

Data Fields

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

apr_pool_t* apr_getopt_t::cont

context for processing

apr_getopt_err_fn_t* apr_getopt_t::errfn

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

void* apr_getopt_t::errarg

user defined first arg to pass to error message

int apr_getopt_t::ind

index into parent argv vector

int apr_getopt_t::opt

character checked for validity

int apr_getopt_t::reset

reset getopt

int apr_getopt_t::argc

count of arguments

const char** apr_getopt_t::argv

array of pointers to arguments

char const* apr_getopt_t::place

argument associated with option

int apr_getopt_t::interleave

set to nonzero to support interleaving options with regular args

int apr_getopt_t::skip_start

start of non-option arguments skipped for interleaving

int apr_getopt_t::skip_end

end of non-option arguments skipped for interleaving

The documentation for this struct was generated from the following file:
Generated on Mon Nov 26 11:47:27 2007 for Apache Portable Runtime by  doxygen 1.5.2