From c447fee9f1e45e35bc8ca6d25fba26ad2a098f0d Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Tue, 2 Apr 2002 20:35:35 +0000 Subject: - 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 --- session.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'session.h') diff --git a/session.h b/session.h index fad3abe1..2a7e4b22 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; -- cgit v1.2.1