summaryrefslogtreecommitdiffhomepage
path: root/mixlib
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib')
-rw-r--r--mixlib/mix_config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mixlib/mix_config.h b/mixlib/mix_config.h
index b763160..e6e00b8 100644
--- a/mixlib/mix_config.h
+++ b/mixlib/mix_config.h
@@ -38,6 +38,10 @@ mix_config_new (const gchar *dirname, const gchar *filename);
extern void
mix_config_delete (mix_config_t *config);
+/* get the config filename (fully qualified) */
+extern const gchar *
+mix_config_get_filename (const mix_config_t *config);
+
/* get a config item's value from its key */
extern const gchar *
mix_config_get (const mix_config_t *config, const gchar *key);
@@ -50,6 +54,8 @@ mix_config_update (mix_config_t *config, const gchar *key, const gchar *value);
extern void
mix_config_save (const mix_config_t *config);
+/** shared config params **/
+
/* set autosave on delete flag */
extern void
mix_config_set_autosave (mix_config_t *config, gboolean autosave);
@@ -57,6 +63,13 @@ mix_config_set_autosave (mix_config_t *config, gboolean autosave);
extern gboolean
mix_config_is_autosave (const mix_config_t *config);
+/* devices dir*/
+extern void
+mix_config_set_devices_dir (mix_config_t *config, const gchar *dirname);
+
+extern const gchar *
+mix_config_get_devices_dir (const mix_config_t *config);
+
#endif /* MIX_CONFIG_H */