ELinks 0.18.0
option_value Union Reference

#include <options.h>

Collaboration diagram for option_value:

Data Fields

struct option list * tree
 The OPT_TREE list_head is allocated.
 
int number
 Used by OPT_BOOL, OPT_INT, OPT_CODEPAGE and OPT_LANGUAGE.
 
intptr_t big_number
 Used by OPT_LONG.
 
color_T color
 The OPT_COLOR value.
 
option_command_fn_Tcommand
 The OPT_COMMAND value.
 
char * string
 The OPT_STRING string is allocated and has length MAX_STR_LEN.
 

Field Documentation

◆ big_number

intptr_t option_value::big_number

Used by OPT_LONG.

◆ color

color_T option_value::color

The OPT_COLOR value.

◆ command

option_command_fn_T* option_value::command

The OPT_COMMAND value.

◆ number

int option_value::number

◆ string

char* option_value::string

The OPT_STRING string is allocated and has length MAX_STR_LEN.

The OPT_ALIAS string is NOT allocated, has variable length (option.max) and should remain untouched! It contains the full path to the "real" / aliased option.

◆ tree

struct option list* option_value::tree

The OPT_TREE list_head is allocated.

XXX: Keep first to make options_root initialization possible.


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