11#ifndef AFPD_UAM_AUTH_H
12#define AFPD_UAM_AUTH_H 1
31 int (*
login)(
void *,
struct passwd **,
32 char *, int,
char *,
size_t *);
34 int,
char *,
size_t *);
37 char *, int,
char *,
size_t *);
40 int,
char *,
size_t *);
45#define uam_attach(a, b) do { \
46 (a)->uam_prev->uam_next = (b); \
47 (b)->uam_prev = (a)->uam_prev; \
48 (b)->uam_next = (a); \
49 (a)->uam_prev = (b); \
52#define uam_detach(a) do { \
53 (a)->uam_prev->uam_next = (a)->uam_next; \
54 (a)->uam_next->uam_prev = (a)->uam_prev; \
63#define auth_unregister(a) uam_detach(a)
static struct uam_obj uam_login
Definition afpd/auth.c:53
void uam_unload(struct uam_mod *)
unload the module.
Definition afpd/uam.c:101
int auth_register(const int, struct uam_obj *)
Definition afpd/auth.c:1156
void auth_unload(void)
Definition afpd/auth.c:1220
struct uam_mod * uam_load(AFPObj *, const char *, const char *)
Definition afpd/uam.c:44
int auth_load(AFPObj *, const char *, const char *)
Definition afpd/auth.c:1173
int uam_random_string(AFPObj *, char *, int)
Definition afpd/uam.c:349
struct uam_obj * auth_uamfind(const int, const char *, const int)
Definition afpd/auth.c:1137
Definition afpd/uam_auth.h:19
void * uam_module
Definition afpd/uam_auth.h:20
struct uam_mod * uam_next
Definition afpd/uam_auth.h:22
struct uam_mod * uam_prev
Definition afpd/uam_auth.h:22
struct uam_export * uam_fcn
Definition afpd/uam_auth.h:21
Definition afpd/uam_auth.h:25
int(* logincont)(void *, struct passwd **, char *, int, char *, size_t *)
Definition afpd/uam_auth.h:33
void(* logout)(void)
Definition afpd/uam_auth.h:35
union uam_obj::@267363230117161357145247102227344201111336235326 u
const char * uam_name
Definition afpd/uam_auth.h:26
int(* login)(void *, struct passwd **, char *, int, char *, size_t *)
Definition afpd/uam_auth.h:31
struct uam_obj * uam_prev
Definition afpd/uam_auth.h:42
int(* login_ext)(void *, char *, struct passwd **, char *, int, char *, size_t *)
Definition afpd/uam_auth.h:36
int(* uam_changepw)(void *, char *, struct passwd *, char *, int, char *, size_t *)
Definition afpd/uam_auth.h:39
int uam_count
Definition afpd/uam_auth.h:28
struct uam_obj * uam_next
Definition afpd/uam_auth.h:42
char * uam_path
Definition afpd/uam_auth.h:27