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 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.