diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-25 10:11:29 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-25 10:11:29 +1100 |
commit | 2e1b082dfbc5dcdae80957a3d889abe9fa480d77 (patch) | |
tree | c2bfe8d4115d22146448ce829fb7b16e9b762b4f /bsd-login.h | |
parent | 1b0c228ec48d54705474701b6486f1593539a88a (diff) |
- Prepare for 1.2.1pre20
19991225
- More fixes from Andre Lucas <andre.lucas@dial.pipex.com>
- Cleanup of auth-passwd.c for shadow and MD5 passwords
- Cleanup and bugfix of PAM authentication code
19991223
- Merged later HPUX patch from Andre Lucas
<andre.lucas@dial.pipex.com>
- Above patch included better utmpx support from Ben Taylor
<bent@clark.net>:
Diffstat (limited to 'bsd-login.h')
-rw-r--r-- | bsd-login.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/bsd-login.h b/bsd-login.h index 8891ae342..f26f47084 100644 --- a/bsd-login.h +++ b/bsd-login.h | |||
@@ -1,13 +1,22 @@ | |||
1 | #ifndef _BSD_LOGIN_H | 1 | #ifndef _BSD_LOGIN_H |
2 | #define _BSD_LOGIN_H | 2 | # define _BSD_LOGIN_H |
3 | 3 | ||
4 | #include "config.h" | 4 | # include "config.h" |
5 | #ifndef HAVE_LOGIN | 5 | # ifndef HAVE_LOGIN |
6 | 6 | ||
7 | #include <utmp.h> | 7 | # include <utmp.h> |
8 | 8 | ||
9 | void login(struct UTMP_STR *utp); | 9 | # if defined(HAVE_UTMPX_H) && defined(USE_UTMPX) |
10 | # include <utmpx.h> | ||
10 | 11 | ||
11 | #endif /* !HAVE_LOGIN */ | 12 | void login(struct utmp *utp, struct utmpx *utx); |
13 | |||
14 | # else /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */ | ||
15 | |||
16 | void login(struct utmp *utp); | ||
17 | |||
18 | # endif /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */ | ||
19 | |||
20 | # endif /* !HAVE_LOGIN */ | ||
12 | 21 | ||
13 | #endif /* _BSD_LOGIN_H */ | 22 | #endif /* _BSD_LOGIN_H */ |