|
Functions |
void | free_glist (GList *list) |
void | gstring_copy (GString **gs, const gchar *src) |
void | global_settings_value_clean (AlpGlobalSettingsValue *value) |
void | global_settings_entry_clean (AlpGlobalSettingsEntry *entry) |
void | global_settings_value_copy (const AlpGlobalSettingsValue *src, AlpGlobalSettingsValue *des) |
void | global_settings_list_copy (const GList *src, GList **dst) |
AlpGlobalSettingsValue * | global_settings_value_duplicate (const AlpGlobalSettingsValue *src) |
AlpGlobalSettingsEntry * | alp_global_settings_entry_alloc (void) |
| allocate a new entry struct
|
void | alp_global_settings_entry_free (AlpGlobalSettingsEntry *e) |
| decllocates a previously allocated entry object
|
AlpGlobalSettingsValue * | alp_global_settings_value_alloc (void) |
| allocate a new value struct
|
void | alp_global_settings_value_clean (AlpGlobalSettingsValue *v) |
| decllocates resources used by a value object but not the value object itself
|
void | alp_global_settings_value_free (AlpGlobalSettingsValue *v) |
| decllocates a previously allocated value object
|
void | alp_global_settings_value_list_free (GList *l) |
| decllocates a list of value obbjects; the list is used to represent a list value
|
void | alp_global_settings_entry_iterator_free (AlpGlobalSettingsEntryIterator *iterator) |
alp_status_t | alp_global_settings_entry_get_key_value (const AlpGlobalSettingsEntry *entry, gchar *key, guint key_size, AlpGlobalSettingsValue *value) |
alp_status_t | alp_global_settings_entry_set_key_value (AlpGlobalSettingsEntry *entry, const gchar *key, const AlpGlobalSettingsValue *value) |
alp_status_t | alp_global_settings_value_set_string (AlpGlobalSettingsValue *value, const gchar *string) |
alp_status_t | alp_global_settings_value_set_int (AlpGlobalSettingsValue *value, gint i) |
alp_status_t | alp_global_settings_value_set_float (AlpGlobalSettingsValue *value, gdouble f) |
alp_status_t | alp_global_settings_value_set_bool (AlpGlobalSettingsValue *value, gboolean b) |
| create a bool preference value; the old value, if any, is freed
|
alp_status_t | alp_global_settings_value_set_list (AlpGlobalSettingsValue *value, const GList *list) |
| set a list (dir) preference value; the old value, if any, is freed
|
alp_status_t | alp_global_settings_value_get_string (AlpGlobalSettingsValue *value, gchar *string, guint string_size) |
alp_status_t | alp_global_settings_value_get_int (AlpGlobalSettingsValue *value, gint *i) |
alp_status_t | alp_global_settings_value_get_float (AlpGlobalSettingsValue *value, gdouble *f) |
alp_status_t | alp_global_settings_value_get_bool (AlpGlobalSettingsValue *value, gboolean *b) |
| get the boolean preference value contained in an value object
|
alp_status_t | alp_global_settings_value_get_list (AlpGlobalSettingsValue *value, GList **list) |
| get the dir (list) preference value contained in an value object
|
const char * | gs_type_to_string (AlpGlobalSettingsValueType t) |
const char * | gs_bool_to_string (gboolean b) |
int | gs_unpack_value (AlpMessage *msg, AlpGlobalSettingsValue *value) |
int | gs_pack_value (AlpMessage *msg, const AlpGlobalSettingsValue *value) |
void | gs_start_pack (AlpMessage **msg, ALP_GLOBAL_SETTINGS_RPC_PROCS proc_id) |
int | gs_svr_pack_entry_iterator (AlpMessage *msg, const AlpGlobalSettingsEntryIterator *iterator) |
int | gs_svr_unpack_entry_iterator (AlpMessage *msg, AlpGlobalSettingsEntryIterator *iterator) |
int | is_dir (const char *path) |
void | normalize_path (char *path) |
int | form_absolute_path (const char *cwd, const char *key, char result[PATH_MAX]) |
const char * | status_to_string (int status) |