-#include <chpass.h>
-#include <strings.h>
-
-char e1[] = ": ";
-char e2[] = ":,";
-
-int p_login(), p_uid(), p_gid(), p_hdir(), p_shell(), p_change(), p_class();
-int p_expire(), p_gecos();
-
-struct entry list[] = {
- { "Login", p_login, 1, 5, e1, },
- { "Uid", p_uid, 1, 3, e1, },
- { "Gid", p_gid, 1, 3, e1, },
- { "Class", p_class, 1, 5, e1, },
- { "Change", p_change, 1, 6, NULL, },
- { "Expire", p_expire, 1, 6, NULL, },
-#define E_NAME 6
- { "Full Name", p_gecos, 0, 9, e2, },
-#define E_BPHONE 7
- { "Office Phone", p_gecos, 0, 12, e2, },
-#define E_HPHONE 8
- { "Home Phone", p_gecos, 0, 10, e2, },
-#define E_LOCATE 9
- { "Location", p_gecos, 0, 8, e2, },
- { "Home directory", p_hdir, 1, 14, e1, },
- { "Shell", p_shell, 0, 5, e1, },
- { NULL, 0, },
-};