QuickIO  0.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
qev_cfg Struct Reference

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.
 

Detailed Description

A configuration option that can be parsed in a config file.

Member Data Documentation

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.


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