Xiqual 0.9.1

In file include/xicommon.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 V_VALUE or V_BOOL.



Documentation

A variable. This extended node contains the type of variable, currently one of V_STRING, V_VALUE and V_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 V_VALUE or V_BOOL. 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(), xml_newdoc(), xmltag

Alphabetic index



This page was generated with the help of DOC++.