]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/iniparser.h
Support for using $u username variable in AFP volume definitions
[netatalk.git] / include / atalk / iniparser.h
index 0eefa4cb3aa64c8603d985d60741d7ff09ffe0a4..186c90e458f474331f7e7b88e6a6ab1eca97bba6 100644 (file)
@@ -10,8 +10,6 @@
 /*--------------------------------------------------------------------------*/
 
 /*
-       $Id: iniparser.h,v 1.26 2011-03-02 20:15:13 ndevilla Exp $
-       $Revision: 1.26 $
 */
 
 #ifndef _INIPARSER_H_
 
 #include "dictionary.h"
 
-int        iniparser_getnsec(const dictionary * d);
-const char *iniparser_getsecname(const dictionary * d, int n);
-void       iniparser_dump_ini(const dictionary * d, FILE * f);
-void       iniparser_dump(const dictionary * d, FILE * f);
-const char *iniparser_getstring(const dictionary * d, const char *section, const char * key, const char * def);
-char       *iniparser_getstrdup(const dictionary * d, const char *section, const char * key, const char * def);
-int        iniparser_getint(const dictionary * d, const char *section, const char * key, int notfound);
-double     iniparser_getdouble(const dictionary * d, const char *section, const char * key, double notfound);
-int        iniparser_getboolean(const dictionary * d, const char *section, const char * key, int notfound);
-int        iniparser_set(dictionary * ini, char *section, char * key, char * val);
-void       iniparser_unset(dictionary * ini, char *section, char * key);
-int        iniparser_find_entry(const dictionary * ini, const char * entry) ;
-dictionary *iniparser_load(const char * ininame);
-void       iniparser_freedict(dictionary * d);
+int        atalk_iniparser_getnsec(const dictionary * d);
+const char *atalk_iniparser_getsecname(const dictionary * d, int n);
+void       atalk_iniparser_dump_ini(const dictionary * d, FILE * f);
+void       atalk_iniparser_dump(const dictionary * d, FILE * f);
+const char *atalk_iniparser_getstring(const dictionary * d, const char *section, const char * key, const char * def);
+char       *atalk_iniparser_getstrdup(const dictionary * d, const char *section, const char * key, const char * def);
+int        atalk_iniparser_getint(const dictionary * d, const char *section, const char * key, int notfound);
+double     atalk_iniparser_getdouble(const dictionary * d, const char *section, const char * key, double notfound);
+int        atalk_iniparser_getboolean(const dictionary * d, const char *section, const char * key, int notfound);
+int        atalk_iniparser_set(dictionary * ini, char *section, char * key, char * val);
+void       atalk_iniparser_unset(dictionary * ini, char *section, char * key);
+int        atalk_iniparser_find_entry(const dictionary * ini, const char * entry) ;
+dictionary *atalk_iniparser_load(const char * ininame);
+void       atalk_iniparser_freedict(dictionary * d);
 
 #endif