summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-07-07 22:57:10 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-07-07 22:57:10 +0000
commitfd39c4abe462ec9e749a1a65370cd7a1c11ae705 (patch)
treebc7921f76fc93e361aab3483847f480aa37df944
parent64c981385b63006523ebafeb24bdf895ee290475 (diff)
downloadmdk-fd39c4abe462ec9e749a1a65370cd7a1c11ae705.tar.gz
mdk-fd39c4abe462ec9e749a1a65370cd7a1c11ae705.tar.bz2
(mix_config_get_filename) new function
-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 */