/*
- * $Id: uam_auth.h,v 1.3 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: uam_auth.h,v 1.4 2009-10-13 22:55:37 didg Exp $
*
* Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu)
* All Rights Reserved. See COPYRIGHT.
int uam_count;
union {
struct {
- int (*login) __P((void *, struct passwd **,
- char *, int, char *, int *));
- int (*logincont) __P((void *, struct passwd **, char *,
- int, char *, int *));
- void (*logout) __P((void));
+ int (*login) (void *, struct passwd **,
+ char *, int, char *, int *);
+ int (*logincont) (void *, struct passwd **, char *,
+ int, char *, int *);
+ void (*logout) (void);
} uam_login;
- int (*uam_changepw) __P((void *, char *, struct passwd *, char *,
- int, char *, int *));
- int (*uam_printer) __P((char *, char *, char *, struct papfile *));
+ int (*uam_changepw) (void *, char *, struct passwd *, char *,
+ int, char *, int *);
+ int (*uam_printer) (char *, char *, char *, struct papfile *);
} u;
struct uam_obj *uam_prev, *uam_next;
};
(((type) == UAM_SERVER_PRINTAUTH) ? &uam_printer : NULL)))
-extern struct uam_mod *uam_load __P((const char *, const char *));
-extern void uam_unload __P((struct uam_mod *));
+extern struct uam_mod *uam_load (const char *, const char *);
+extern void uam_unload (struct uam_mod *);
/* auth.c */
-int auth_load __P((const char *, const char *));
-int auth_register __P((const int, struct uam_obj *));
+int auth_load (const char *, const char *);
+int auth_register (const int, struct uam_obj *);
#define auth_unregister(a) uam_detach(a)
-struct uam_obj *auth_uamfind __P((const int, const char *, const int));
-void auth_unload __P((void));
-int getuamnames __P((const int, char *));
+struct uam_obj *auth_uamfind (const int, const char *, const int);
+void auth_unload (void);
+int getuamnames (const int, char *);
#endif /* uam_auth.h */