]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/x3ldap.h
Couple of srvx updates.
[irc/evilnet/x3.git] / src / x3ldap.h
index a6a48a6f88befa4515f6325184a3eb148f672fc3..6d1bb27a712877fe203f7ab9d2981122a6d6e41a 100644 (file)
@@ -5,7 +5,7 @@
  *
  * x3 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
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
 #include "nickserv.h"
 int ldap_do_init();
 
-unsigned int ldap_check_auth(char *account, char *pass);
+unsigned int ldap_check_auth(const char *account, const char *pass);
+int ldap_do_add(const char *account, const char *password, const char *email);
+int ldap_rename_account(char *oldaccount, char *newaccount);
+int ldap_delete_account(char *account);
+int ldap_do_oslevel(const char *account, int level, int oldlevel);
+int ldap_do_modify(const char *account, const char *password, const char *email);
+int ldap_get_user_info(const char *account, char **email);
+int ldap_delfromgroup(char *account, const char *group);
+int ldap_add2group(char *account, const char *group);
+
 
 void ldap_close();