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