diff src/audacious/pluginenum.c @ 3687:12e11b15b549

Export ConfigDB API via vtable, adding public aliases: bmp_cfg_db_*, aud_cfg_db_*. The bmp_cfg_db_* aliases will be removed later once people have done sed on the plugins.
author William Pitcock <nenolod@atheme.org>
date Tue, 02 Oct 2007 21:41:06 -0500
parents 0ba593887cae
children 0ef1a18a5583
line wrap: on
line diff
--- a/src/audacious/pluginenum.c	Tue Oct 02 21:21:50 2007 -0500
+++ b/src/audacious/pluginenum.c	Tue Oct 02 21:41:06 2007 -0500
@@ -91,6 +91,23 @@
 
     .vfs_buffered_file_new_from_uri = vfs_buffered_file_new_from_uri,
     .vfs_buffered_file_release_live_fd = vfs_buffered_file_release_live_fd,
+
+    .cfg_db_open = cfg_db_open,
+    .cfg_db_close = cfg_db_close,
+
+    .cfg_db_get_string = cfg_db_get_string,
+    .cfg_db_get_int = cfg_db_get_int,
+    .cfg_db_get_bool = cfg_db_get_bool,
+    .cfg_db_get_float = cfg_db_get_float,
+    .cfg_db_get_double = cfg_db_get_double,
+
+    .cfg_db_set_string = cfg_db_set_string,
+    .cfg_db_set_int = cfg_db_set_int,
+    .cfg_db_set_bool = cfg_db_set_bool,
+    .cfg_db_set_float = cfg_db_set_float,
+    .cfg_db_set_double = cfg_db_set_double,
+
+    .cfg_db_unset_key = cfg_db_unset_key,
 };
 
 /*****************************************************************/