opt__list_t Struct Reference

An option entry. More...

#include <options.h>

Data Fields

char name [16]
 Name of the option.
opt___parse_tparse
 Function to convert the string into a value.
const void * parm
 Arbitrary parameter for the function.
const char * cp_val
 Result, if it's a string.
int i_val
 Result, if it's an int.
enum opt__prio_e prio
 At which priority it has been written yet.

Detailed Description

An option entry.

Definition at line 173 of file options.h.


Field Documentation

const char* opt__list_t::cp_val

Result, if it's a string.

Definition at line 183 of file options.h.

Referenced by opt___store_string(), and opt__set_string().

Result, if it's an int.

For a string its length is stored.

Definition at line 185 of file options.h.

Referenced by opt___atoi(), opt___debug_buffer(), opt___store_string(), opt___string2val(), opt___strings2bitmap(), opt___strings2empty_bm(), and opt__set_int().

Name of the option.

Definition at line 175 of file options.h.

Referenced by opt__parse(), opt__parse_option(), and opt__variable_from_option().

const void* opt__list_t::parm

Arbitrary parameter for the function.

Definition at line 180 of file options.h.

Referenced by opt___string2val(), and opt___strings2bitmap().

Function to convert the string into a value.

Definition at line 178 of file options.h.

Referenced by opt__parse_option().

At which priority it has been written yet.

Definition at line 188 of file options.h.

Referenced by __attribute__(), opt__parse_option(), opt__set_int(), and opt__set_string().


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

Generated for fsvs by  doxygen 1.6.1