1999-11-19 05:32:34 +01:00
|
|
|
#ifndef _BSD_LOGIN_H
|
1999-12-25 00:11:29 +01:00
|
|
|
# define _BSD_LOGIN_H
|
1999-11-19 05:32:34 +01:00
|
|
|
|
1999-12-25 00:11:29 +01:00
|
|
|
# include "config.h"
|
|
|
|
# ifndef HAVE_LOGIN
|
1999-11-19 05:32:34 +01:00
|
|
|
|
1999-12-25 00:11:29 +01:00
|
|
|
# include <utmp.h>
|
1999-11-19 05:32:34 +01:00
|
|
|
|
1999-12-25 00:11:29 +01:00
|
|
|
# if defined(HAVE_UTMPX_H) && defined(USE_UTMPX)
|
|
|
|
# include <utmpx.h>
|
1999-11-19 05:32:34 +01:00
|
|
|
|
1999-12-25 00:11:29 +01:00
|
|
|
void login(struct utmp *utp, struct utmpx *utx);
|
|
|
|
|
|
|
|
# else /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */
|
|
|
|
|
|
|
|
void login(struct utmp *utp);
|
|
|
|
|
|
|
|
# endif /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */
|
|
|
|
|
|
|
|
# endif /* !HAVE_LOGIN */
|
1999-11-19 05:32:34 +01:00
|
|
|
|
|
|
|
#endif /* _BSD_LOGIN_H */
|