diff mcabber/src/settings.h @ 341:dea407d53fe6

Improve configuration file reading * Move cfg_file() to settings.c, cfg_read_file() * Optimize the function * Remove parsecfg.[ch]
author Mikael Berthe <mikael@lilotux.net>
date Tue, 19 Jul 2005 17:54:03 +0100
parents 871e53769084
children 998b63be6e6b
line wrap: on
line diff
--- a/mcabber/src/settings.h	Tue Jul 19 17:51:44 2005 +0100
+++ b/mcabber/src/settings.h	Tue Jul 19 17:54:03 2005 +0100
@@ -26,6 +26,7 @@
 #define settings_opt_get(k)     settings_get(SETTINGS_TYPE_OPTION, k)
 #define settings_opt_get_int(k) settings_get_int(SETTINGS_TYPE_OPTION, k)
 
+int     cfg_read_file(char *filename);
 guint   parse_assigment(gchar *assignment,
                         const gchar **pkey, const gchar **pval);
 void    settings_set(guint type, const gchar *key, const gchar *value);