summaryrefslogtreecommitdiffhomepage
path: root/chansession.h
diff options
context:
space:
mode:
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