]> git.ipfire.org Git - thirdparty/glibc.git/blame - include/utmp.h
alloc_buffer: Return unqualified pointer type in alloc_buffer_next
[thirdparty/glibc.git] / include / utmp.h
CommitLineData
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 7extern void __updwtmp (const char *__wtmp_file, const struct utmp *__utmp);
59c04e67
L
8libc_hidden_proto (__updwtmp)
9extern int __utmpname (const char *__file) attribute_hidden;
c19559b0 10extern struct utmp *__getutent (void);
59c04e67
L
11libc_hidden_proto (__getutent)
12extern void __setutent (void) attribute_hidden;
13extern void __endutent (void) attribute_hidden;
a784e502 14extern struct utmp *__getutid (const struct utmp *__id);
59c04e67 15libc_hidden_proto (__getutid)
a784e502 16extern struct utmp *__getutline (const struct utmp *__line);
59c04e67 17libc_hidden_proto (__getutline)
a784e502 18extern struct utmp *__pututline (const struct utmp *__utmp_ptr);
59c04e67 19libc_hidden_proto (__pututline)
c19559b0 20extern int __getutent_r (struct utmp *__buffer, struct utmp **__result);
59c04e67 21libc_hidden_proto (__getutent_r)
a784e502 22extern int __getutid_r (const struct utmp *__id, struct utmp *__buffer,
c19559b0 23 struct utmp **__result);
59c04e67 24libc_hidden_proto (__getutid_r)
a784e502 25extern int __getutline_r (const struct utmp *__line,
c19559b0 26 struct utmp *__buffer, struct utmp **__result);
59c04e67 27libc_hidden_proto (__getutline_r)
b31b32b3
UD
28
29libutil_hidden_proto (login_tty)
30
47755784 31# endif /* !_ISOMAC */
6796bc80 32#endif