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