Apache Portable Runtime
Data Fields

#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

int apr_getopt_t::argc

count of arguments

const char** apr_getopt_t::argv

array of pointers to arguments

apr_pool_t* apr_getopt_t::cont

context for processing

void* apr_getopt_t::errarg

user defined first arg to pass to error message

apr_getopt_err_fn_t* apr_getopt_t::errfn

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

int apr_getopt_t::ind

index into parent argv vector

int apr_getopt_t::interleave

set to nonzero to support interleaving options with regular args

int apr_getopt_t::opt

character checked for validity

char const* apr_getopt_t::place

argument associated with option

int apr_getopt_t::reset

reset getopt

int apr_getopt_t::skip_end

end of non-option arguments skipped for interleaving

int apr_getopt_t::skip_start

start of non-option arguments skipped for interleaving


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