2 #include <login/utmp.h>
4 /* Now define the internal interfaces. */
5 extern void __updwtmp (__const
char *__wtmp_file
,
6 __const
struct utmp
*__utmp
) __THROW
;
7 extern int __utmpname (__const
char *__file
) __THROW
;
8 extern struct utmp
*__getutent (void) __THROW
;
9 extern void __setutent (void) __THROW
;
10 extern void __endutent (void) __THROW
;
11 extern struct utmp
*__getutid (__const
struct utmp
*__id
) __THROW
;
12 extern struct utmp
*__getutline (__const
struct utmp
*__line
) __THROW
;
13 extern struct utmp
*__pututline (__const
struct utmp
*__utmp_ptr
) __THROW
;
14 extern int __getutent_r (struct utmp
*__buffer
, struct utmp
**__result
) __THROW
;
15 extern int __getutid_r (__const
struct utmp
*__id
, struct utmp
*__buffer
,
16 struct utmp
**__result
) __THROW
;
17 extern int __getutline_r (__const
struct utmp
*__line
,
18 struct utmp
*__buffer
, struct utmp
**__result
) __THROW
;