X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/73d4cc91d7e6df980ab421c7b3b44dc94f0b396a..1ccb8f6e37ca3c53da7ab48b3ded3ae332702e0b:/src/x3ldap.h diff --git a/src/x3ldap.h b/src/x3ldap.h index b450414..da5eac9 100644 --- a/src/x3ldap.h +++ b/src/x3ldap.h @@ -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, @@ -29,6 +29,10 @@ 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_modify(const char *account, const char *password, const char *email); +int ldap_get_user_info(char *account, char **email); +int ldap_delfromgroup(char *account, const char *group); +int ldap_add2group(char *account, const char *group); + void ldap_close();