]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/ldapconfig.h
New option parsing
[netatalk.git] / include / atalk / ldapconfig.h
index 70f9f628c7c61c0c0fe7018b91bfceb884865f43..76f5561b4df5a7952a7a4f6f23cbbf14af185b83 100644 (file)
@@ -1,10 +1,12 @@
-#ifdef HAVE_ACLS
+#ifdef HAVE_LDAP
 
 #ifndef LDAPCONFIG_H
 #define LDAPCONFIG_H
 
+#include <atalk/iniparser.h>
+
 /* One function does the whole job */
-extern int acl_ldap_readconfig(char *name);
+extern int acl_ldap_readconfig(dictionary *iniconfig);
 
 /* These are the prefvalues */
 extern char *ldap_server;
@@ -39,4 +41,4 @@ extern int ldap_config_valid;
 
 #endif /* LDAPCONFIG_H */
 
-#endif /* HAVE_ACLS */
+#endif /* HAVE_LDAP */