1 /* 2 * Copyright (c) 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)chpass.h 8.1 (Berkeley) 06/06/93 8 */ 9 10 typedef struct _entry { 11 char *prompt; 12 int (*func)(), restricted, len; 13 char *except, *save; 14 } ENTRY; 15 16 /* Field numbers. */ 17 #define E_BPHONE 8 18 #define E_HPHONE 9 19 #define E_LOCATE 10 20 #define E_NAME 7 21 #define E_SHELL 12 22 23 extern ENTRY list[]; 24 extern uid_t uid; 25