struct apr_getopt_option_t

Overview

Structure used to describe options that getopt should search for. Moreā€¦

#include <apr_getopt.h>

struct apr_getopt_option_t {
    // fields

    const char* name;
    int optch;
    int has_arg;
    const char* description;
};

Detailed Documentation

Structure used to describe options that getopt should search for.

Fields

const char* name

long option name, or NULL if option has no long name

int optch

option letter, or a value greater than 255 if option has no letter

int has_arg

nonzero if option takes an argument

const char* description

a description of the option