Xiqual 0.7.2
In file include/prefs.h: A variable.
-
struct variable *next
- Next variable in List
-
struct variable *prev
- Previous variable in List
-
char* name
- The mandatory name of the variable.
-
ulong type
- Type of variable, as listed in prefsh
-
char* string
- A string, if type is PREFS_STRING
-
int value
- An integer (signed) if type is PREFS_VALUE or PREFS_BOOLEAN.
Documentation
A variable.
This extended node contains the type of variable, currently one of
PREFS_STRING, PREFS_VALUE and PREFS_BOOL and
the related data.
struct variable *next
-
Next variable in List
struct variable *prev
-
Previous variable in List
char* name
-
The mandatory name of the variable.
cfg_* functions will search by this only. Anything recognised by isalpha() is
legal as a variable name. Locale settings may affect what is considered an
alphabetical character.
ulong type
-
Type of variable, as listed in prefsh
char* string
-
A string, if type is PREFS_STRING
int value
-
An integer (signed) if type is PREFS_VALUE or PREFS_BOOLEAN.
If a lone word without an equals sign is encountered in a
configuration file, it is turned into a boolean variable.
- Author:
- Ronny Bangsund
- See Also:
- preferences, cfg_newvar()
Alphabetic index
This page was generated with the help of DOC++.