Back to index

glibc  2.9
utmp.h
Go to the documentation of this file.
00001 #ifndef _UTMP_H
00002 #include <login/utmp.h>
00003 
00004 /* Now define the internal interfaces.  */
00005 extern void __updwtmp (__const char *__wtmp_file,
00006                      __const struct utmp *__utmp);
00007 extern int __utmpname (__const char *__file);
00008 extern struct utmp *__getutent (void);
00009 extern void __setutent (void);
00010 extern void __endutent (void);
00011 extern struct utmp *__getutid (__const struct utmp *__id);
00012 extern struct utmp *__getutline (__const struct utmp *__line);
00013 extern struct utmp *__pututline (__const struct utmp *__utmp_ptr);
00014 extern int __getutent_r (struct utmp *__buffer, struct utmp **__result);
00015 extern int __getutid_r (__const struct utmp *__id, struct utmp *__buffer,
00016                      struct utmp **__result);
00017 extern int __getutline_r (__const struct utmp *__line,
00018                        struct utmp *__buffer, struct utmp **__result);
00019 
00020 libutil_hidden_proto (login_tty)
00021 
00022 #endif