2 ** Copyright 1998 - 2004 Double Precision, Inc. See COPYING for
3 ** distribution information.
6 #ifndef courierauthstaticlist_h
7 #define courierauthstaticlist_h
10 #include "courier_auth_config.h"
12 #include <sys/types.h>
21 struct authstaticinfo
{
22 const char *auth_name
;
23 int (*auth_func
)(const char *, const char *, char *,
24 int (*)(struct authinfo
*, void *),
26 int (*auth_prefunc
)(const char *, const char *,
27 int (*)(struct authinfo
*, void *),
29 void (*auth_cleanupfunc
)();
30 int (*auth_changepwd
)(const char *, /* service */
31 const char *, /* userid */
32 const char *, /* oldpassword */
33 const char *); /* new password */
36 /* Not null - gets called every 5 mins when we're idle */
38 void (*auth_enumerate
)( void(*cb_func
)(const char *name
,
48 extern int auth_syspasswd(const char *,