summaryrefslogtreecommitdiff
path: root/sshlogin.h
diff options
context:
space:
mode:
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.