comparison session.h @ 130:154c8d5a6d1e private-rez

propagate of 82bb923d0154750ef716b66b498561f882891946 and f51a272341ee12268fe7028bc2f2bad66c603069 from branch 'matt.dbclient.work' to 'matt.dbclient.rez'
author Matt Johnston <matt@ucc.asn.au>
date Tue, 21 Sep 2004 10:08:21 +0000
parents 10f4d3319780
children 8c2b3506f112
comparison
equal deleted inserted replaced
129:66087d87c355 130:154c8d5a6d1e
34 #include "channel.h" 34 #include "channel.h"
35 #include "queue.h" 35 #include "queue.h"
36 #include "listener.h" 36 #include "listener.h"
37 #include "packet.h" 37 #include "packet.h"
38 #include "tcpfwd.h" 38 #include "tcpfwd.h"
39 #include "chansession.h"
39 40
40 extern int sessinitdone; /* Is set to 0 somewhere */ 41 extern int sessinitdone; /* Is set to 0 somewhere */
41 extern int exitflag; 42 extern int exitflag;
42 43
43 void common_session_init(int sock, char* remotehost); 44 void common_session_init(int sock, char* remotehost);
174 /* userauth */ 175 /* userauth */
175 176
176 struct ChildPid * childpids; /* array of mappings childpid<->channel */ 177 struct ChildPid * childpids; /* array of mappings childpid<->channel */
177 unsigned int childpidsize; 178 unsigned int childpidsize;
178 179
180 /* Used to avoid a race in the exit returncode handling - see
181 * svr-chansession.c for details */
182 struct exitinfo lastexit;
183
179 }; 184 };
180 185
181 typedef enum { 186 typedef enum {
182 KEX_NOTHING, 187 KEX_NOTHING,
183 KEXINIT_RCVD, 188 KEXINIT_RCVD,