diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-09-21 10:08:21 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-09-21 10:08:21 +0000 |
commit | c2af67efd3e75fcb33eefb5992d1d053de282ae5 (patch) | |
tree | 5efd047a9ed538e6b32c8ddeee290b7ba9c69535 /chansession.h | |
parent | 6766dfae2646b5af6632faf0d5e911248c51cde0 (diff) |
propagate of 82bb923d0154750ef716b66b498561f882891946 and f51a272341ee12268fe7028bc2f2bad66c603069 from branch 'matt.dbclient.work' to 'matt.dbclient.rez'
--HG--
branch : private-rez
extra : convert_revision : 440ee4177122c8a873ebf8984a90f96a9bd8a56a
Diffstat (limited to 'chansession.h')
-rw-r--r-- | chansession.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/chansession.h b/chansession.h index 84ca55a..213c285 100644 --- a/chansession.h +++ b/chansession.h @@ -29,6 +29,14 @@ #include "channel.h" #include "listener.h" +struct exitinfo { + + int exitpid; /* -1 if not exited */ + int exitstatus; + int exitsignal; + int exitcore; +}; + struct ChanSess { unsigned char * cmd; /* command to exec */ @@ -41,10 +49,7 @@ struct ChanSess { unsigned char * term; /* exit details */ - int exited; - int exitstatus; - int exitsignal; - unsigned char exitcore; + struct exitinfo exit; #ifndef DISABLE_X11FWD struct Listener * x11listener; |