- Reworked non-channel fd handling to listener.c

- More channel cleaning up

--HG--
extra : convert_revision : 385ec76d0304b93e277d1cc193383db5fd773703
This commit is contained in:
Matt Johnston
2004-06-03 16:45:53 +00:00
parent 513f947d62
commit 444dbb5364
18 changed files with 277 additions and 245 deletions

View File

@@ -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