break out special local mail processing (e.g., mapping to the
[unix-history] / usr / src / usr.bin / chpass / table.c
CommitLineData
cb382134 1/*-
d78dcdff 2 * Copyright (c) 1990, 1993, 1994
8964deec 3 * The Regents of the University of California. All rights reserved.
cb382134
KB
4 *
5 * %sccs.include.redist.c%
6 */
7
8#ifndef lint
d78dcdff 9static char sccsid[] = "@(#)table.c 8.3 (Berkeley) %G%";
cb382134
KB
10#endif /* not lint */
11
12#include <sys/types.h>
13#include <stddef.h>
14#include "chpass.h"
15
16char e1[] = ": ";
17char e2[] = ":,";
18
cb382134
KB
19ENTRY list[] = {
20 { "login", p_login, 1, 5, e1, },
21 { "password", p_passwd, 1, 8, e1, },
22 { "uid", p_uid, 1, 3, e1, },
23 { "gid", p_gid, 1, 3, e1, },
24 { "class", p_class, 1, 5, e1, },
25 { "change", p_change, 1, 6, NULL, },
26 { "expire", p_expire, 1, 6, NULL, },
27 { "full name", p_gecos, 0, 9, e2, },
28 { "office phone", p_gecos, 0, 12, e2, },
29 { "home phone", p_gecos, 0, 10, e2, },
30 { "location", p_gecos, 0, 8, e2, },
31 { "home directory", p_hdir, 1, 14, e1, },
32 { "shell", p_shell, 0, 5, e1, },
33 { NULL, 0, },
34};