summaryrefslogtreecommitdiff
path: root/lib/readutmp.h
AgeCommit message (Collapse)Author
2005-06-02Don't use "path" or "filename" to mean "file name"Paul Eggert
in comments or local variable names.
2005-05-14Update FSF postal mail address.Jim Meyering
2005-03-30(read_utmp): New arg OPTIONS. All uses changed.Paul Eggert
(UT_PID): Moved here from ../src/who.c. (READ_UTMP_CHECK_PIDS): New constant.
2004-12-01Go back to including <sys/types.h> rather than <stddef.h>; this isPaul Eggert
needed on OpenBSD since its <utmp.h> needs time_t without making sure that time_t is defined.
2004-11-30Don't include <sys/types.h>, <errno.h>,Paul Eggert
<sys/param.h>, <time.h>; not needed to establish interface. Include <stddef.h> instead. (errno): Remove decl. (HAVE_STRUCT_XTMP_UT_TYPE): Remove; no longer needed. (UT_TYPE_EQ, UT_TYPE_NOT_DEFINED, UT_TYPE_BOOT_TIME, UT_TYPE_USER_PROCESS, IS_USER_PROCESS): New macros.
2004-08-02(UT_USER): Parenthesize properly.Paul Eggert
(UT_USER_SIZE): New constant. (read_utmp): Don't assume that the number of users is less than INT_MAX.
2003-08-18Sync with gnulib.Jim Meyering
2003-06-18(PARAMS): Remove. All uses removed.Jim Meyering
2002-07-27If we have both utmpx.h and utmp.h, and there existsJim Meyering
the utmp.ut_exit member, but not the utmpx.ut_exit member, then undefine HAVE_UTMPX_H. For AIX 4.3.3. Doing all this in cpp is a big kludge; someday we'll put the brains in an autoconf macro. (UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Define.
2002-04-16(UT_TYPE): Remove definition (now in who.c).Jim Meyering
(HAVE_STRUCT_XTMP_UT_EXIT, HAVE_STRUCT_XTMP_UT_ID): Define. (HAVE_STRUCT_XTMP_UT_PID, HAVE_STRUCT_XTMP_UT_TYPE): Define.
2001-05-27(UT_TYPE): Define.Jim Meyering
2000-07-04[HAVE_UTMPX_H]: Include <utmp.h> if HAVE_UTMP_H.Jim Meyering
This is necessary to get a definition of e.g., UTMP_FILE on HP-UX 10.20. From Bob Proulx.
2000-04-05[HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.Jim Meyering
2000-02-01(UT_USER): Add parens. From Andreas Schwab.Jim Meyering
2000-01-30redo it on per-header basisJim Meyering
2000-01-30(UT_USER): Define. Accessor macro for the member named ut_user or ut_name.Jim Meyering
1999-05-05Add definitions to help read utmpx on systems with utmpname.Jim Meyering
(UTMP_NAME_FUNCTION): Define. (SET_UTMP_ENT): Likewise. (GET_UTMP_ENT): Likewise. (END_UTMP_ENT): Likewise.
1999-02-08Don't include stdio.h.Jim Meyering
1998-04-04(PARAMS): Define.Jim Meyering
1997-07-13(PARAMS): Update prototype.Jim Meyering
(utmp_contents): Remove dcl.
1997-07-13.Jim Meyering