comparison chansession.h @ 130:154c8d5a6d1e private-rez

propagate of 82bb923d0154750ef716b66b498561f882891946 and f51a272341ee12268fe7028bc2f2bad66c603069 from branch 'matt.dbclient.work' to 'matt.dbclient.rez'
author Matt Johnston <matt@ucc.asn.au>
date Tue, 21 Sep 2004 10:08:21 +0000
parents 10f4d3319780
children 12d845ab7b5f
comparison
equal deleted inserted replaced
129:66087d87c355 130:154c8d5a6d1e
27 27
28 #include "loginrec.h" 28 #include "loginrec.h"
29 #include "channel.h" 29 #include "channel.h"
30 #include "listener.h" 30 #include "listener.h"
31 31
32 struct exitinfo {
33
34 int exitpid; /* -1 if not exited */
35 int exitstatus;
36 int exitsignal;
37 int exitcore;
38 };
39
32 struct ChanSess { 40 struct ChanSess {
33 41
34 unsigned char * cmd; /* command to exec */ 42 unsigned char * cmd; /* command to exec */
35 pid_t pid; /* child process pid */ 43 pid_t pid; /* child process pid */
36 44
39 int slave; 47 int slave;
40 unsigned char * tty; 48 unsigned char * tty;
41 unsigned char * term; 49 unsigned char * term;
42 50
43 /* exit details */ 51 /* exit details */
44 int exited; 52 struct exitinfo exit;
45 int exitstatus;
46 int exitsignal;
47 unsigned char exitcore;
48 53
49 #ifndef DISABLE_X11FWD 54 #ifndef DISABLE_X11FWD
50 struct Listener * x11listener; 55 struct Listener * x11listener;
51 int x11port; 56 int x11port;
52 char * x11authprot; 57 char * x11authprot;