summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-04-02 22:35:35 +0200
committerBen Lindstrom <mouring@eviladmin.org>2002-04-02 22:35:35 +0200
commitc447fee9f1e45e35bc8ca6d25fba26ad2a098f0d (patch)
treea3dccc0564993cc09d3fa5bb8705d840fafe984c /session.h
parent - markus@cvs.openbsd.org 2002/03/28 15:34:51 (diff)
downloadopenssh-c447fee9f1e45e35bc8ca6d25fba26ad2a098f0d.tar.xz
openssh-c447fee9f1e45e35bc8ca6d25fba26ad2a098f0d.zip
- markus@cvs.openbsd.org 2002/03/29 18:59:32
[session.c session.h] retrieve last login time before the pty is allocated, store per session
Diffstat (limited to 'session.h')
-rw-r--r--session.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/session.h b/session.h
index fad3abe1c..2a7e4b224 100644
--- a/session.h
+++ b/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.16 2002/03/19 10:35:39 markus Exp $ */
+/* $OpenBSD: session.h,v 1.17 2002/03/29 18:59:32 markus Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -39,6 +39,9 @@ struct Session {
int ptyfd, ttyfd, ptymaster;
int row, col, xpixel, ypixel;
char tty[TTYSZ];
+ /* last login */
+ char hostname[MAXHOSTNAMELEN];
+ time_t last_login_time;
/* X11 */
int display_number;
char *display;