A configuration option that can be parsed in a config file. More...
#include <config.h>
Public Attributes | |
| gchar * | name |
| Name of the option. | |
| gchar * | description |
| Short description of the option. | |
| enum qev_cfg_type | type |
| Type of option. | |
| union qev_cfg_valptr | val |
| Where the value is stored. More... | |
| union qev_cfg_val | defval |
| The default value for this option. | |
| qev_cfg_validator | validate |
| Callback for validating / parsing an option when it's set. | |
| qev_cfg_cb | cb |
| Callback after the value has been set. | |
| gboolean | read_only |
| If the config option may be modified at run time. | |
A configuration option that can be parsed in a config file.
| union qev_cfg_valptr qev_cfg::val |
Where the value is stored.
Don't statically initalize any values; they will be set to their defaults automatically, and old values will be freed.
1.8.6