diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-02 22:35:35 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-02 22:35:35 +0200 |
commit | c447fee9f1e45e35bc8ca6d25fba26ad2a098f0d (patch) | |
tree | a3dccc0564993cc09d3fa5bb8705d840fafe984c /session.h | |
parent | - markus@cvs.openbsd.org 2002/03/28 15:34:51 (diff) | |
download | openssh-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |