comparison session.h @ 156:8c2b3506f112

Rearrange preprocessor parts so that compilation with various options disabled works OK.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 22 Dec 2004 15:37:50 +0000
parents 154c8d5a6d1e
children 364a75cfebab
comparison
equal deleted inserted replaced
153:6ba95762ec4e 156:8c2b3506f112
156 unsigned int chancount; /* the number of Channel*s in use */ 156 unsigned int chancount; /* the number of Channel*s in use */
157 const struct ChanType **chantypes; /* The valid channel types */ 157 const struct ChanType **chantypes; /* The valid channel types */
158 158
159 159
160 /* TCP forwarding - where manage listeners */ 160 /* TCP forwarding - where manage listeners */
161 #ifdef USING_LISTENERS
162 struct Listener ** listeners; 161 struct Listener ** listeners;
163 unsigned int listensize; 162 unsigned int listensize;
163
164 /* Whether to allow binding to privileged ports (<1024). This doesn't 164 /* Whether to allow binding to privileged ports (<1024). This doesn't
165 * really belong here, but nowhere else fits nicely */ 165 * really belong here, but nowhere else fits nicely */
166 #endif
167 int allowprivport; 166 int allowprivport;
168 167
169 }; 168 };
170 169
171 struct serversession { 170 struct serversession {