summaryrefslogtreecommitdiff
path: root/sshlogin.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-05-08 20:33:05 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-05-08 20:33:05 +0000
commit97c677d4f04b8f8938c893656f667a29527f4a0f (patch)
tree17e28513452c08b9a5a026e19b64ae8eae09ec59 /sshlogin.h
parent387c472660ef173c2e469e70eb1a25d47f6e8887 (diff)
- (bal) UseLogin patch for Solaris/UNICOS. Patch by Wayne Davison
<wayne@blorf.net>
Diffstat (limited to 'sshlogin.h')
-rw-r--r--sshlogin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sshlogin.h b/sshlogin.h
index 7285bc23..f0d500ee 100644
--- a/sshlogin.h
+++ b/sshlogin.h
@@ -31,6 +31,15 @@ void
record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid,
const char *host, struct sockaddr *addr);
+#ifdef LOGIN_NEEDS_UTMPX
+/*
+ * Record just the utmp info for /bin/login.
+ */
+void
+record_utmp_only(pid_t pid, const char *ttyname, const char *user,
+ const char *host, struct sockaddr * addr);
+#endif
+
/*
* Records that the user has logged out. This does many thigs normally done
* by login(1) or init.