00001 /* XMMS2 - X Music Multiplexer System 00002 * Copyright (C) 2003-2008 XMMS2 Team 00003 * 00004 * PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!! 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 */ 00016 00017 00018 00019 00020 #ifndef __XMMS_PRIV_CONFIG_H__ 00021 #define __XMMS_PRIV_CONFIG_H__ 00022 00023 #include "xmms/xmms_config.h" 00024 00025 #define XMMS_MAX_CONFIGFILE_LEN 255 00026 #define XMMS_CONFIG_SYSTEMWIDE SYSCONFDIR "/xmms2.conf" 00027 00028 void xmms_config_init (const gchar *filename); 00029 void xmms_config_shutdown (void); 00030 00031 gboolean xmms_config_save (void); 00032 void xmms_config_setvalue (xmms_config_t *conf, const gchar *key, const gchar *value, xmms_error_t *err); 00033 00034 #endif