Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
00001 /* 00002 * playlist-api.h 00003 * Copyright 2010 John Lindgren 00004 * 00005 * This file is part of Audacious. 00006 * 00007 * Audacious is free software: you can redistribute it and/or modify it under 00008 * the terms of the GNU General Public License as published by the Free Software 00009 * Foundation, version 2 or version 3 of the License. 00010 * 00011 * Audacious is distributed in the hope that it will be useful, but WITHOUT ANY 00012 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 00013 * A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along with 00016 * Audacious. If not, see <http://www.gnu.org/licenses/>. 00017 * 00018 * The Audacious team does not consider modular code linking to Audacious or 00019 * using our public API to be a derived work. 00020 */ 00021 00022 /* Do not include this file directly; use playlist.h instead. */ 00023 00024 /* CAUTION: These functions are not thread safe. */ 00025 00026 AUD_FUNC0 (mcs_handle_t *, cfg_db_open) 00027 AUD_FUNC1 (void, cfg_db_close, mcs_handle_t *, db) 00028 00029 AUD_FUNC4 (gboolean, cfg_db_get_string, mcs_handle_t *, db, const gchar *, 00030 section, const gchar *, key, gchar * *, value) 00031 AUD_FUNC4 (gboolean, cfg_db_get_int, mcs_handle_t *, db, const gchar *, section, 00032 const gchar *, key, gint *, value) 00033 AUD_FUNC4 (gboolean, cfg_db_get_bool, mcs_handle_t *, db, const gchar *, 00034 section, const gchar *, key, gboolean *, value) 00035 AUD_FUNC4 (gboolean, cfg_db_get_float, mcs_handle_t *, db, const gchar *, 00036 section, const gchar *, key, gfloat *, value) 00037 AUD_FUNC4 (gboolean, cfg_db_get_double, mcs_handle_t *, db, const gchar *, 00038 section, const gchar *, key, gdouble *, value) 00039 00040 AUD_FUNC4 (void, cfg_db_set_string, mcs_handle_t *, db, const gchar *, section, 00041 const gchar *, key, const gchar *, value) 00042 AUD_FUNC4 (void, cfg_db_set_int, mcs_handle_t *, db, const gchar *, section, 00043 const gchar *, key, gint, value) 00044 AUD_FUNC4 (void, cfg_db_set_bool, mcs_handle_t *, db, const gchar *, section, 00045 const gchar *, key, gboolean, value) 00046 AUD_FUNC4 (void, cfg_db_set_float, mcs_handle_t *, db, const gchar *, section, 00047 const gchar *, key, gfloat, value) 00048 AUD_FUNC4 (void, cfg_db_set_double, mcs_handle_t *, db, const gchar *, section, 00049 const gchar *, key, gdouble, value) 00050 00051 AUD_FUNC3 (void, cfg_db_unset_key, mcs_handle_t *, db, const gchar *, section, 00052 const gchar *, key)