2 ** Copyright 1998 - 2004 Double Precision, Inc. See COPYING for
3 ** distribution information.
6 #ifndef authstaticlist_h
7 #define authstaticlist_h
10 #include "courier_auth_config.h"
12 #include <sys/types.h>
18 static const char authstaticlist_h_rcsid
[]="$Id: authstaticlist.h,v 1.13 2004/11/14 02:58:16 mrsam Exp $";
22 struct authstaticinfo
{
23 const char *auth_name
;
24 int (*auth_func
)(const char *, const char *, char *,
25 int (*)(struct authinfo
*, void *),
27 int (*auth_prefunc
)(const char *, const char *,
28 int (*)(struct authinfo
*, void *),
30 void (*auth_cleanupfunc
)();
31 int (*auth_changepwd
)(const char *, /* service */
32 const char *, /* userid */
33 const char *, /* oldpassword */
34 const char *); /* new password */
37 /* Not null - gets called every 5 mins when we're idle */
39 void (*auth_enumerate
)( void(*cb_func
)(const char *name
,
49 extern int auth_syspasswd(const char *,