equal
deleted
inserted
replaced
28 #define mkcmdstr(cmd) COMMAND_CHARSTR cmd |
28 #define mkcmdstr(cmd) COMMAND_CHARSTR cmd |
29 |
29 |
30 typedef gchar *(*settings_guard_t)(const gchar *key, const gchar *new_value); |
30 typedef gchar *(*settings_guard_t)(const gchar *key, const gchar *new_value); |
31 |
31 |
32 void settings_init(void); |
32 void settings_init(void); |
|
33 const gchar *settings_get_mcabber_config_dir(void); |
33 int cfg_read_file(char *filename, guint mainfile); |
34 int cfg_read_file(char *filename, guint mainfile); |
34 guint parse_assigment(gchar *assignment, gchar **pkey, gchar **pval); |
35 guint parse_assigment(gchar *assignment, gchar **pkey, gchar **pval); |
35 gboolean settings_set_guard(const gchar *key, settings_guard_t guard); |
36 gboolean settings_set_guard(const gchar *key, settings_guard_t guard); |
36 void settings_del_guard(const gchar *key); |
37 void settings_del_guard(const gchar *key); |
37 void settings_opt_set_raw(const gchar *key, const gchar *value); |
38 void settings_opt_set_raw(const gchar *key, const gchar *value); |