summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshlogin.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-06-26 17:27:26 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-06-26 17:27:26 +0000
commit004be5d7fde7b1de1f913b3f12d653f37b2363d6 (patch)
tree26792f95387357370109227aa8cc488b283cdc10 /usr.bin/ssh/sshlogin.h
parent1ed9d56f5da69187ea4ccdccf6157ae98f5c401d (diff)
remove comments from .h, since they are cut&paste from the .c files
and out of sync
Diffstat (limited to 'usr.bin/ssh/sshlogin.h')
-rw-r--r--usr.bin/ssh/sshlogin.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/usr.bin/ssh/sshlogin.h b/usr.bin/ssh/sshlogin.h
index 539bf040d9c..27a838646a9 100644
--- a/usr.bin/ssh/sshlogin.h
+++ b/usr.bin/ssh/sshlogin.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshlogin.h,v 1.2 2001/06/26 06:33:04 itojun Exp $ */
+/* $OpenBSD: sshlogin.h,v 1.3 2001/06/26 17:27:25 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -14,25 +14,10 @@
#ifndef SSHLOGIN_H
#define SSHLOGIN_H
-/*
- * Returns the time when the user last logged in. Returns 0 if the
- * information is not available. This must be called before record_login.
- * The host from which the user logged in is stored in buf.
- */
-u_long get_last_login_time(uid_t, const char *, char *, u_int);
-
-/*
- * Records that the user has logged in. This does many things normally done
- * by login(1).
- */
void
record_login(pid_t, const char *, const char *, uid_t,
const char *, struct sockaddr *);
-
-/*
- * Records that the user has logged out. This does many thigs normally done
- * by login(1) or init.
- */
-void record_logout(pid_t, const char *);
+void record_logout(pid_t, const char *);
+u_long get_last_login_time(uid_t, const char *, char *, u_int);
#endif