summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-04-02 20:35:35 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-04-02 20:35:35 +0000
commitc447fee9f1e45e35bc8ca6d25fba26ad2a098f0d (patch)
treea3dccc0564993cc09d3fa5bb8705d840fafe984c /session.h
parent2bf56e2dba10e640ad11011c28eb79089443fa92 (diff)
- 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 @@
1/* $OpenBSD: session.h,v 1.16 2002/03/19 10:35:39 markus Exp $ */ 1/* $OpenBSD: session.h,v 1.17 2002/03/29 18:59:32 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -39,6 +39,9 @@ struct Session {
39 int ptyfd, ttyfd, ptymaster; 39 int ptyfd, ttyfd, ptymaster;
40 int row, col, xpixel, ypixel; 40 int row, col, xpixel, ypixel;
41 char tty[TTYSZ]; 41 char tty[TTYSZ];
42 /* last login */
43 char hostname[MAXHOSTNAMELEN];
44 time_t last_login_time;
42 /* X11 */ 45 /* X11 */
43 int display_number; 46 int display_number;
44 char *display; 47 char *display;