2 #include <login/utmp.h>
6 /* Now define the internal interfaces. */
7 extern void __updwtmp (const char *__wtmp_file
, const struct utmp
*__utmp
);
8 libc_hidden_proto (__updwtmp
)
9 extern int __utmpname (const char *__file
);
10 libc_hidden_proto (__utmpname
)
11 extern struct utmp
*__getutent (void);
12 libc_hidden_proto (__getutent
)
13 extern void __setutent (void);
14 libc_hidden_proto (__setutent
)
15 extern void __endutent (void);
16 libc_hidden_proto (__endutent
)
17 extern struct utmp
*__getutid (const struct utmp
*__id
);
18 libc_hidden_proto (__getutid
)
19 extern struct utmp
*__getutline (const struct utmp
*__line
);
20 libc_hidden_proto (__getutline
)
21 extern struct utmp
*__pututline (const struct utmp
*__utmp_ptr
);
22 libc_hidden_proto (__pututline
)
23 extern int __getutent_r (struct utmp
*__buffer
, struct utmp
**__result
);
24 libc_hidden_proto (__getutent_r
)
25 extern int __getutid_r (const struct utmp
*__id
, struct utmp
*__buffer
,
26 struct utmp
**__result
);
27 libc_hidden_proto (__getutid_r
)
28 extern int __getutline_r (const struct utmp
*__line
,
29 struct utmp
*__buffer
, struct utmp
**__result
);
30 libc_hidden_proto (__getutline_r
)
32 libc_hidden_proto (login
)
33 libc_hidden_proto (login_tty
)
34 libc_hidden_proto (logout
)
35 libc_hidden_proto (logwtmp
)
37 # endif /* !_ISOMAC */