comparison session.h @ 37:0913e2ee3545

we're nearly there yet
author Matt Johnston <matt@ucc.asn.au>
date Fri, 30 Jul 2004 03:02:19 +0000
parents e2a1eaa19f22
children 0883c0906870
comparison
equal deleted inserted replaced
36:a600c015562d 37:0913e2ee3545
150 struct elements are common */ 150 struct elements are common */
151 151
152 /* Channel related */ 152 /* Channel related */
153 struct Channel ** channels; /* these pointers may be null */ 153 struct Channel ** channels; /* these pointers may be null */
154 unsigned int chansize; /* the number of Channel*s allocated for channels */ 154 unsigned int chansize; /* the number of Channel*s allocated for channels */
155 unsigned int chancount; /* the number of Channel*s in use */
155 const struct ChanType **chantypes; /* The valid channel types */ 156 const struct ChanType **chantypes; /* The valid channel types */
156 157
157 158
158 /* TCP forwarding - where manage listeners */ 159 /* TCP forwarding - where manage listeners */
159 #ifdef USING_LISTENERS 160 #ifdef USING_LISTENERS
192 SERVICE_CONN_REQ_SENT, 193 SERVICE_CONN_REQ_SENT,
193 SERVICE_CONN_ACCEPT_RCVD, 194 SERVICE_CONN_ACCEPT_RCVD,
194 USERAUTH_METHODS_SENT, 195 USERAUTH_METHODS_SENT,
195 USERAUTH_REQ_SENT, 196 USERAUTH_REQ_SENT,
196 USERAUTH_FAIL_RCVD, 197 USERAUTH_FAIL_RCVD,
198 USERAUTH_SUCCESS_RCVD,
199 SESSION_RUNNING,
197 200
198 } cli_state; 201 } cli_state;
199 202
200 struct clientsession { 203 struct clientsession {
201 204