]>
Dogcows Code - chaz/openbox/blob - openbox/config.h
26 char *descriptive_name
; /* user friendly name */
27 char *long_description
; /* text description of option */
29 /* if it is a string type optionally provide a list of valid strings */
34 void config_startup();
35 void config_shutdown();
37 /* Set a config variable's value. The variable must have already been defined
38 with a call to config_def_set */
39 gboolean
config_set(char *name
, ConfigValueType type
, ConfigValue value
);
41 /* Get a config variable's value. Returns FALSE if the value has not been
43 gboolean
config_get(char *name
, ConfigValueType type
, ConfigValue
*value
);
45 /* Create a new config definition to add to the config system */
46 ConfigDefEntry
*config_def_new(char *name
, ConfigValueType type
,
47 char *descriptive_name
, char *long_description
);
49 /* Add a value to a String type config definition */
50 gboolean
config_def_add_value(ConfigDefEntry
*entry
, char *value
);
52 /* Sets up the definition in the config system, Don't free or touch the entry
53 after setting it with this. It is invalidated even if the function returns
55 gboolean
config_def_set(ConfigDefEntry
*entry
);
This page took 0.038294 seconds and 4 git commands to generate.