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 7285bc23e..f0d500ee3 100644
--- a/sshlogin.h
+++ b/sshlogin.h
@@ -31,6 +31,15 @@ void
31record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid, 31record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid,
32 const char *host, struct sockaddr *addr); 32 const char *host, struct sockaddr *addr);
33 33
34#ifdef LOGIN_NEEDS_UTMPX
35/*
36 * Record just the utmp info for /bin/login.
37 */
38void
39record_utmp_only(pid_t pid, const char *ttyname, const char *user,
40 const char *host, struct sockaddr * addr);
41#endif
42
34/* 43/*
35 * Records that the user has logged out. This does many thigs normally done 44 * Records that the user has logged out. This does many thigs normally done
36 * by login(1) or init. 45 * by login(1) or init.