diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-02 20:35:35 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-02 20:35:35 +0000 |
commit | c447fee9f1e45e35bc8ca6d25fba26ad2a098f0d (patch) | |
tree | a3dccc0564993cc09d3fa5bb8705d840fafe984c /session.h | |
parent | 2bf56e2dba10e640ad11011c28eb79089443fa92 (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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |