| 1 | #ifndef _UTMP_H |
|---|---|
| 2 | #include <login/utmp.h> |
| 3 | |
| 4 | # ifndef _ISOMAC |
| 5 | |
| 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) attribute_hidden; |
| 10 | extern struct utmp *__getutent (void); |
| 11 | libc_hidden_proto (__getutent) |
| 12 | extern void __setutent (void) attribute_hidden; |
| 13 | extern void __endutent (void) attribute_hidden; |
| 14 | extern struct utmp *__getutid (const struct utmp *__id); |
| 15 | libc_hidden_proto (__getutid) |
| 16 | extern struct utmp *__getutline (const struct utmp *__line); |
| 17 | libc_hidden_proto (__getutline) |
| 18 | extern struct utmp *__pututline (const struct utmp *__utmp_ptr); |
| 19 | libc_hidden_proto (__pututline) |
| 20 | extern int __getutent_r (struct utmp *__buffer, struct utmp **__result); |
| 21 | libc_hidden_proto (__getutent_r) |
| 22 | extern int __getutid_r (const struct utmp *__id, struct utmp *__buffer, |
| 23 | struct utmp **__result); |
| 24 | libc_hidden_proto (__getutid_r) |
| 25 | extern int __getutline_r (const struct utmp *__line, |
| 26 | struct utmp *__buffer, struct utmp **__result); |
| 27 | libc_hidden_proto (__getutline_r) |
| 28 | |
| 29 | libutil_hidden_proto (login_tty) |
| 30 | |
| 31 | # endif /* !_ISOMAC */ |
| 32 | #endif |
| 33 |