chpass.h (6fa56084) chpass.h (a0bffbc0)
1/* $OpenBSD: chpass.h,v 1.9 2003/06/25 22:41:35 deraadt Exp $ */
1/* $OpenBSD: chpass.h,v 1.10 2009/03/05 20:53:13 millert Exp $ */
2/* $NetBSD: chpass.h,v 1.4 1996/05/15 21:50:44 jtc Exp $ */
3
4/*
5 * Copyright (c) 1988, 1993, 1994
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 44 unchanged lines hidden (view full) ---

54#define EDIT_ERROR -1
55
56extern ENTRY list[];
57extern uid_t uid;
58
59int atot(char *, time_t *);
60void display(char *, int, struct passwd *);
61int edit(char *, struct passwd *);
2/* $NetBSD: chpass.h,v 1.4 1996/05/15 21:50:44 jtc Exp $ */
3
4/*
5 * Copyright (c) 1988, 1993, 1994
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 44 unchanged lines hidden (view full) ---

54#define EDIT_ERROR -1
55
56extern ENTRY list[];
57extern uid_t uid;
58
59int atot(char *, time_t *);
60void display(char *, int, struct passwd *);
61int edit(char *, struct passwd *);
62char *ok_shell(char *);
62int ok_shell(char *, char **);
63int p_change(char *, struct passwd *, ENTRY *);
64int p_class(char *, struct passwd *, ENTRY *);
65int p_expire(char *, struct passwd *, ENTRY *);
66int p_gecos(char *, struct passwd *, ENTRY *);
67int p_gid(char *, struct passwd *, ENTRY *);
68int p_hdir(char *, struct passwd *, ENTRY *);
69int p_login(char *, struct passwd *, ENTRY *);
70int p_login(char *, struct passwd *, ENTRY *);
71int p_passwd(char *, struct passwd *, ENTRY *);
72int p_shell(char *, struct passwd *, ENTRY *);
73int p_uid(char *, struct passwd *, ENTRY *);
74char *ttoa(char *, size_t, time_t);
75int verify(char *, struct passwd *);
76struct passwd
77 *ypgetpwnam(char *);
78struct passwd
79 *ypgetpwuid(uid_t uid);
80int _yp_check(char **);
81int pw_yp(struct passwd *, uid_t);
63int p_change(char *, struct passwd *, ENTRY *);
64int p_class(char *, struct passwd *, ENTRY *);
65int p_expire(char *, struct passwd *, ENTRY *);
66int p_gecos(char *, struct passwd *, ENTRY *);
67int p_gid(char *, struct passwd *, ENTRY *);
68int p_hdir(char *, struct passwd *, ENTRY *);
69int p_login(char *, struct passwd *, ENTRY *);
70int p_login(char *, struct passwd *, ENTRY *);
71int p_passwd(char *, struct passwd *, ENTRY *);
72int p_shell(char *, struct passwd *, ENTRY *);
73int p_uid(char *, struct passwd *, ENTRY *);
74char *ttoa(char *, size_t, time_t);
75int verify(char *, struct passwd *);
76struct passwd
77 *ypgetpwnam(char *);
78struct passwd
79 *ypgetpwuid(uid_t uid);
80int _yp_check(char **);
81int pw_yp(struct passwd *, uid_t);