Code

mpdclient: move code to mpdclient_invoke_error_callback()
[ncmpc.git] / src / conf.h
index 541d8d56cee3fd92208c5e9d6c169394381c838b..d3a26949a14b48df169e81d9b9bcb88deef7f96c 100644 (file)
@@ -1,27 +1,31 @@
 /* ncmpc (Ncurses MPD Client)
- * (c) 2004-2009 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
  * Project homepage: http://musicpd.org
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
-
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
-
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
+ */
+
+#include <stdbool.h>
 
-#include "options.h"
+bool
+check_user_conf_dir(void);
 
-int check_user_conf_dir(void);
+char *build_user_conf_filename(void);
+char *build_system_conf_filename(void);
 
-char *get_user_key_binding_filename(void);
+char *build_user_key_binding_filename(void);
 
-int read_configuration(void);
+void read_configuration(void);