comparison svr-session.c @ 7:425ed5c20157

Chantype handling is sorted
author Matt Johnston <matt@ucc.asn.au>
date Wed, 02 Jun 2004 04:59:49 +0000
parents ab00ef513e97
children 7f77962de998
comparison
equal deleted inserted replaced
6:ab00ef513e97 7:425ed5c20157
33 #include "random.h" 33 #include "random.h"
34 #include "kex.h" 34 #include "kex.h"
35 #include "channel.h" 35 #include "channel.h"
36 #include "chansession.h" 36 #include "chansession.h"
37 #include "atomicio.h" 37 #include "atomicio.h"
38 #include "localtcpfwd.h"
38 39
39 static void svr_remoteclosed(); 40 static void svr_remoteclosed();
40 41
41 struct serversession svr_ses; 42 struct serversession svr_ses;
42 43
43 const struct ChanType *chantypes[] = { 44 const struct ChanType *chantypes[] = {
44 &svrchansess, 45 &svrchansess,
46 &chan_tcpdirect,
45 NULL /* Null termination is mandatory. */ 47 NULL /* Null termination is mandatory. */
46 }; 48 };
47 49
48 50
49 void svr_session(int sock, runopts *opts, int childpipe, 51 void svr_session(int sock, runopts *opts, int childpipe,