Xiqual 0.7.2

In file include/prefs.h:

typedef struct variable

A variable.

[more]struct variable *next
Next variable in List
[more]struct variable *prev
Previous variable in List
[more]char* name
The mandatory name of the variable.
[more]ulong type
Type of variable, as listed in prefsh
[more]char* string
A string, if type is PREFS_STRING
[more]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.
ostruct variable *next
Next variable in List

ostruct variable *prev
Previous variable in List

ochar* 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.

oulong type
Type of variable, as listed in prefsh

ochar* string
A string, if type is PREFS_STRING

oint 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++.