121315Sdist /* 235600Sbostic * Copyright (c) 1988 The Regents of the University of California. 335600Sbostic * All rights reserved. 421315Sdist * 5*42617Sbostic * %sccs.include.redist.c% 635600Sbostic * 7*42617Sbostic * @(#)utmp.h 5.10 (Berkeley) 06/01/90 821315Sdist */ 912196Ssam 1037431Sbostic #define _PATH_UTMP "/var/run/utmp" 1137431Sbostic #define _PATH_WTMP "/var/log/wtmp" 1237819Sbostic #define _PATH_LASTLOG "/var/log/lastlog" 1337093Sbostic 1435665Sbostic #define UT_NAMESIZE 8 1535665Sbostic #define UT_LINESIZE 8 1635665Sbostic #define UT_HOSTSIZE 16 1737819Sbostic 1837819Sbostic struct lastlog { 1937819Sbostic time_t ll_time; 2037819Sbostic char ll_line[UT_LINESIZE]; 2137819Sbostic char ll_host[UT_HOSTSIZE]; 2237819Sbostic }; 2337819Sbostic 2412196Ssam struct utmp { 2538008Sbostic char ut_line[UT_LINESIZE]; 2638008Sbostic char ut_name[UT_NAMESIZE]; 2735665Sbostic char ut_host[UT_HOSTSIZE]; 2835767Smarc long ut_time; 2912196Ssam }; 30