]>
Commit | Line | Data |
---|---|---|
6796bc80 | 1 | #ifndef _UTMP_H |
0200214b | 2 | #include <login/utmp.h> |
bdbf022d UD |
3 | |
4 | /* Now define the internal interfaces. */ | |
a784e502 UD |
5 | extern void __updwtmp (const char *__wtmp_file, const struct utmp *__utmp); |
6 | extern int __utmpname (const char *__file); | |
c19559b0 UD |
7 | extern struct utmp *__getutent (void); |
8 | extern void __setutent (void); | |
9 | extern void __endutent (void); | |
a784e502 UD |
10 | extern struct utmp *__getutid (const struct utmp *__id); |
11 | extern struct utmp *__getutline (const struct utmp *__line); | |
12 | extern struct utmp *__pututline (const struct utmp *__utmp_ptr); | |
c19559b0 | 13 | extern int __getutent_r (struct utmp *__buffer, struct utmp **__result); |
a784e502 | 14 | extern int __getutid_r (const struct utmp *__id, struct utmp *__buffer, |
c19559b0 | 15 | struct utmp **__result); |
a784e502 | 16 | extern int __getutline_r (const struct utmp *__line, |
c19559b0 | 17 | struct utmp *__buffer, struct utmp **__result); |
b31b32b3 UD |
18 | |
19 | libutil_hidden_proto (login_tty) | |
20 | ||
6796bc80 | 21 | #endif |