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