mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
b31b32b3aa
* include/libc-symbols.h: Define hidden attribute macros for libnss_nisplus and libutil. * include/utmp.h: Add libutil_hidden_proto for login_tty. * login/login_tty.c: Add libutil_hidden_def. * nis/nisplus-parser.h: Add libnss_nisplus_hidden_proto for parsers. * nis/nss_nisplus/nisplus-parser.c: Add libnss_nisplus_hidden_def. * include/pty.h: New file. * include/rpcsvc/yp.h: New file. * include/rpcsvc/ypclnt.h: New file. * include/rpcsvc/ypupd.h: New file.
23 lines
834 B
C
23 lines
834 B
C
#ifndef _UTMP_H
|
|
#include <login/utmp.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern void __updwtmp (__const char *__wtmp_file,
|
|
__const struct utmp *__utmp);
|
|
extern int __utmpname (__const char *__file);
|
|
extern struct utmp *__getutent (void);
|
|
extern void __setutent (void);
|
|
extern void __endutent (void);
|
|
extern struct utmp *__getutid (__const struct utmp *__id);
|
|
extern struct utmp *__getutline (__const struct utmp *__line);
|
|
extern struct utmp *__pututline (__const struct utmp *__utmp_ptr);
|
|
extern int __getutent_r (struct utmp *__buffer, struct utmp **__result);
|
|
extern int __getutid_r (__const struct utmp *__id, struct utmp *__buffer,
|
|
struct utmp **__result);
|
|
extern int __getutline_r (__const struct utmp *__line,
|
|
struct utmp *__buffer, struct utmp **__result);
|
|
|
|
libutil_hidden_proto (login_tty)
|
|
|
|
#endif
|