summaryrefslogtreecommitdiffhomepage
path: root/chansession.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-06-03 16:45:53 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-06-03 16:45:53 +0000
commit444dbb5364798925a3cacddba7b1bb3041e41a23 (patch)
treeac499ac58516073528397e2470fcf6c0dc6fe1d9 /chansession.h
parent513f947d62351e5af77676e20740232d753cd5b1 (diff)
- Reworked non-channel fd handling to listener.c
- More channel cleaning up --HG-- extra : convert_revision : 385ec76d0304b93e277d1cc193383db5fd773703
Diffstat (limited to 'chansession.h')
-rw-r--r--chansession.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chansession.h b/chansession.h
index 85dc9c1..7879791 100644
--- a/chansession.h
+++ b/chansession.h
@@ -27,6 +27,7 @@
#include "loginrec.h"
#include "channel.h"
+#include "listener.h"
struct ChanSess {
@@ -47,7 +48,7 @@ struct ChanSess {
unsigned char exitcore;
#ifndef DISABLE_X11FWD
- int x11fd; /* set to -1 to indicate forwarding not established */
+ struct Listener * x11listener;
int x11port;
char * x11authprot;
char * x11authcookie;
@@ -56,7 +57,7 @@ struct ChanSess {
#endif
#ifndef DISABLE_AGENTFWD
- int agentfd;
+ struct Listener * agentlistener;
char * agentfile;
char * agentdir;
#endif