diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-30 15:08:44 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-30 15:08:44 +1100 |
commit | e72b7af17e519eb1d433b5119ef551f2584f8be6 (patch) | |
tree | 7ebbc8fefdfcfd9669dbe05718b142996df69a85 /bsd-misc.h | |
parent | ece22a8312357e1f34916659d77fa7dd8d15ae32 (diff) |
- Removed most of the pam code into its own file auth-pam.[ch]. This
cleaned up sshd.c up significantly.
- Several other cleanups
Diffstat (limited to 'bsd-misc.h')
-rw-r--r-- | bsd-misc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bsd-misc.h b/bsd-misc.h index 990dd408e..fabaa00b3 100644 --- a/bsd-misc.h +++ b/bsd-misc.h | |||
@@ -51,4 +51,17 @@ void setproctitle(const char *fmt, ...); | |||
51 | int setenv(const char *name, const char *value, int overwrite); | 51 | int setenv(const char *name, const char *value, int overwrite); |
52 | #endif /* !HAVE_SETENV */ | 52 | #endif /* !HAVE_SETENV */ |
53 | 53 | ||
54 | #ifndef HAVE_SETLOGIN | ||
55 | int setlogin(const char *name); | ||
56 | #endif /* !HAVE_SETLOGIN */ | ||
57 | |||
58 | #ifndef HAVE_INNETGR | ||
59 | int innetgr(const char *netgroup, const char *host, | ||
60 | const char *user, const char *domain); | ||
61 | #endif /* HAVE_INNETGR */ | ||
62 | |||
63 | #if !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) | ||
64 | int seteuid(uid_t euid); | ||
65 | #endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */ | ||
66 | |||
54 | #endif /* _BSD_MISC_H */ | 67 | #endif /* _BSD_MISC_H */ |