146390Sbostic /*- 2*66651Spendry * Copyright (c) 1990, 1993, 1994 361940Sbostic * The Regents of the University of California. All rights reserved. 446390Sbostic * 546390Sbostic * %sccs.include.redist.c% 646390Sbostic */ 746390Sbostic 846390Sbostic #ifndef lint 9*66651Spendry static char sccsid[] = "@(#)table.c 8.3 (Berkeley) 04/02/94"; 1046390Sbostic #endif /* not lint */ 1146390Sbostic 1246390Sbostic #include <sys/types.h> 1346390Sbostic #include <stddef.h> 1446390Sbostic #include "chpass.h" 1546390Sbostic 1646390Sbostic char e1[] = ": "; 1746390Sbostic char e2[] = ":,"; 1846390Sbostic 1946390Sbostic ENTRY list[] = { 2046390Sbostic { "login", p_login, 1, 5, e1, }, 2146390Sbostic { "password", p_passwd, 1, 8, e1, }, 2246390Sbostic { "uid", p_uid, 1, 3, e1, }, 2346390Sbostic { "gid", p_gid, 1, 3, e1, }, 2446390Sbostic { "class", p_class, 1, 5, e1, }, 2546390Sbostic { "change", p_change, 1, 6, NULL, }, 2646390Sbostic { "expire", p_expire, 1, 6, NULL, }, 2746390Sbostic { "full name", p_gecos, 0, 9, e2, }, 2846390Sbostic { "office phone", p_gecos, 0, 12, e2, }, 2946390Sbostic { "home phone", p_gecos, 0, 10, e2, }, 3046390Sbostic { "location", p_gecos, 0, 8, e2, }, 3146390Sbostic { "home directory", p_hdir, 1, 14, e1, }, 3246390Sbostic { "shell", p_shell, 0, 5, e1, }, 3346390Sbostic { NULL, 0, }, 3446390Sbostic }; 35