comparison session.h @ 9:7f77962de998

- Reworked non-channel fd handling to listener.c - More channel cleaning up
author Matt Johnston <matt@ucc.asn.au>
date Thu, 03 Jun 2004 16:45:53 +0000
parents ab00ef513e97
children d7cc5b484a2e
comparison
equal deleted inserted replaced
7:425ed5c20157 9:7f77962de998
31 #include "kex.h" 31 #include "kex.h"
32 #include "auth.h" 32 #include "auth.h"
33 #include "channel.h" 33 #include "channel.h"
34 #include "queue.h" 34 #include "queue.h"
35 #include "runopts.h" 35 #include "runopts.h"
36 #include "remotetcpfwd.h" 36 #include "listener.h"
37 37
38 extern int sessinitdone; /* Is set to 0 somewhere */ 38 extern int sessinitdone; /* Is set to 0 somewhere */
39 extern int exitflag; 39 extern int exitflag;
40 40
41 void common_session_init(int sock, runopts *opts); 41 void common_session_init(int sock, runopts *opts);
137 const struct ChanType **chantypes; /* The valid channel types */ 137 const struct ChanType **chantypes; /* The valid channel types */
138 138
139 139
140 /* TCP forwarding - where manage listeners */ 140 /* TCP forwarding - where manage listeners */
141 #ifndef DISABLE_REMOTETCPFWD 141 #ifndef DISABLE_REMOTETCPFWD
142 struct TCPListener ** tcplisteners; 142 struct Listener ** listeners;
143 unsigned int tcplistensize; 143 unsigned int listensize;
144 #endif 144 #endif
145 145
146 }; 146 };
147 147
148 struct serversession { 148 struct serversession {