version 1.6, 2002/06/27 22:02:08 |
version 1.7, 2002/07/31 22:08:42 |
|
|
#define E_NAME 7 |
#define E_NAME 7 |
#define E_SHELL 12 |
#define E_SHELL 12 |
|
|
|
/* edit() return values. */ |
|
#define EDIT_OK 0 |
|
#define EDIT_NOCHANGE 1 |
|
#define EDIT_ERROR -1 |
|
|
extern ENTRY list[]; |
extern ENTRY list[]; |
extern uid_t uid; |
extern uid_t uid; |
|
|
int atot(char *, time_t *); |
int atot(char *, time_t *); |
void display(char *, int, struct passwd *); |
void display(char *, int, struct passwd *); |
void edit(char *, struct passwd *); |
int edit(char *, struct passwd *); |
char *ok_shell(char *); |
char *ok_shell(char *); |
int p_change(char *, struct passwd *, ENTRY *); |
int p_change(char *, struct passwd *, ENTRY *); |
int p_class(char *, struct passwd *, ENTRY *); |
int p_class(char *, struct passwd *, ENTRY *); |