]>
Commit | Line | Data |
---|---|---|
6796bc80 | 1 | #ifndef _UTMP_H |
0200214b | 2 | #include <login/utmp.h> |
bdbf022d | 3 | |
47755784 ZW |
4 | # ifndef _ISOMAC |
5 | ||
bdbf022d | 6 | /* Now define the internal interfaces. */ |
a784e502 | 7 | extern void __updwtmp (const char *__wtmp_file, const struct utmp *__utmp); |
59c04e67 | 8 | libc_hidden_proto (__updwtmp) |
98164ba5 FW |
9 | extern int __utmpname (const char *__file); |
10 | libc_hidden_proto (__utmpname) | |
c19559b0 | 11 | extern struct utmp *__getutent (void); |
59c04e67 | 12 | libc_hidden_proto (__getutent) |
98164ba5 FW |
13 | extern void __setutent (void); |
14 | libc_hidden_proto (__setutent) | |
15 | extern void __endutent (void); | |
16 | libc_hidden_proto (__endutent) | |
a784e502 | 17 | extern struct utmp *__getutid (const struct utmp *__id); |
59c04e67 | 18 | libc_hidden_proto (__getutid) |
a784e502 | 19 | extern struct utmp *__getutline (const struct utmp *__line); |
59c04e67 | 20 | libc_hidden_proto (__getutline) |
a784e502 | 21 | extern struct utmp *__pututline (const struct utmp *__utmp_ptr); |
59c04e67 | 22 | libc_hidden_proto (__pututline) |
c19559b0 | 23 | extern int __getutent_r (struct utmp *__buffer, struct utmp **__result); |
59c04e67 | 24 | libc_hidden_proto (__getutent_r) |
a784e502 | 25 | extern int __getutid_r (const struct utmp *__id, struct utmp *__buffer, |
c19559b0 | 26 | struct utmp **__result); |
59c04e67 | 27 | libc_hidden_proto (__getutid_r) |
a784e502 | 28 | extern int __getutline_r (const struct utmp *__line, |
c19559b0 | 29 | struct utmp *__buffer, struct utmp **__result); |
59c04e67 | 30 | libc_hidden_proto (__getutline_r) |
b31b32b3 | 31 | |
734c60eb FW |
32 | libc_hidden_proto (login) |
33 | libc_hidden_proto (login_tty) | |
34 | libc_hidden_proto (logout) | |
35 | libc_hidden_proto (logwtmp) | |
b31b32b3 | 36 | |
47755784 | 37 | # endif /* !_ISOMAC */ |
6796bc80 | 38 | #endif |