2
* $Id: uam_auth.h,v 1.3 2001/06/25 20:13:45 rufustfirefly Exp $
2
* $Id: uam_auth.h,v 1.4 2009/10/13 22:55:37 didg Exp $
4
4
* Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu)
5
5
* All Rights Reserved. See COPYRIGHT.
32
int (*login) __P((void *, struct passwd **,
33
char *, int, char *, int *));
34
int (*logincont) __P((void *, struct passwd **, char *,
36
void (*logout) __P((void));
32
int (*login) (void *, struct passwd **,
33
char *, int, char *, int *);
34
int (*logincont) (void *, struct passwd **, char *,
36
void (*logout) (void);
38
int (*uam_changepw) __P((void *, char *, struct passwd *, char *,
40
int (*uam_printer) __P((char *, char *, char *, struct papfile *));
38
int (*uam_changepw) (void *, char *, struct passwd *, char *,
40
int (*uam_printer) (char *, char *, char *, struct papfile *);
42
42
struct uam_obj *uam_prev, *uam_next;
59
59
(((type) == UAM_SERVER_PRINTAUTH) ? &uam_printer : NULL)))
62
extern struct uam_mod *uam_load __P((const char *, const char *));
63
extern void uam_unload __P((struct uam_mod *));
62
extern struct uam_mod *uam_load (const char *, const char *);
63
extern void uam_unload (struct uam_mod *);
66
int auth_load __P((const char *, const char *));
67
int auth_register __P((const int, struct uam_obj *));
66
int auth_load (const char *, const char *);
67
int auth_register (const int, struct uam_obj *);
68
68
#define auth_unregister(a) uam_detach(a)
69
struct uam_obj *auth_uamfind __P((const int, const char *, const int));
70
void auth_unload __P((void));
71
int getuamnames __P((const int, char *));
69
struct uam_obj *auth_uamfind (const int, const char *, const int);
70
void auth_unload (void);
71
int getuamnames (const int, char *);
73
73
#endif /* uam_auth.h */