1 #ifndef authldap_h 2 #define authldap_h 3 4 /* 5 ** 6 ** Copyright 1998 - 2003 Double Precision, Inc. See COPYING for 7 ** distribution information. 8 */ 9 10 /* Based on code by Luc Saillard <luc.saillard@alcove.fr>. */ 11 12 #if HAVE_CONFIG_H 13 #include "courier_auth_config.h" 14 #endif 15 16 17 struct authinfo; 18 19 int authldapcommon(const char *, const char *, 20 const char *, int (*)(struct authinfo *, void *), void *); 21 22 void authldapclose(); 23 24 void auth_ldap_enumerate( void(*cb_func)(const char *name, 25 uid_t uid, 26 gid_t gid, 27 const char *homedir, 28 const char *maildir, 29 const char *options, 30 void *void_arg), 31 void *void_arg); 32 33 int auth_ldap_changepw(const char *, const char *, const char *, 34 const char *); 35 36 37 #endif 38