X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/20e35472580d62a36529459f5fa47eacd2925881..cc952d1cad3ad67241e736e239ce5352983c4cef:/usr/src/usr.bin/chpass/chpass.h diff --git a/usr/src/usr.bin/chpass/chpass.h b/usr/src/usr.bin/chpass/chpass.h index 8563e4d6e5..33c129ef52 100644 --- a/usr/src/usr.bin/chpass/chpass.h +++ b/usr/src/usr.bin/chpass/chpass.h @@ -4,9 +4,11 @@ * * %sccs.include.redist.c% * - * @(#)chpass.h 8.1 (Berkeley) %G% + * @(#)chpass.h 8.2 (Berkeley) %G% */ +struct passwd; + typedef struct _entry { char *prompt; int (*func)(), restricted, len; @@ -22,3 +24,22 @@ typedef struct _entry { extern ENTRY list[]; extern uid_t uid; + +int atot __P((char *, time_t *)); +void display __P((int, struct passwd *)); +void edit __P((struct passwd *)); +char *ok_shell __P((char *)); +int p_change __P((char *, struct passwd *, ENTRY *)); +int p_class __P((char *, struct passwd *, ENTRY *)); +int p_expire __P((char *, struct passwd *, ENTRY *)); +int p_gecos __P((char *, struct passwd *, ENTRY *)); +int p_gid __P((char *, struct passwd *, ENTRY *)); +int p_hdir __P((char *, struct passwd *, ENTRY *)); +int p_login __P((char *, struct passwd *, ENTRY *)); +int p_login __P((char *, struct passwd *, ENTRY *)); +int p_passwd __P((char *, struct passwd *, ENTRY *)); +int p_shell __P((char *, struct passwd *, ENTRY *)); +int p_uid __P((char *, struct passwd *, ENTRY *)); +void pw_copy __P((int, int, struct passwd *)); +char *ttoa __P((time_t)); +int verify __P((struct passwd *));