comparison svr-session.c @ 62:20563735e8b5

just checkpointing
author Matt Johnston <matt@ucc.asn.au>
date Tue, 10 Aug 2004 17:09:52 +0000
parents 9ee8996a375f
children eee77ac31ccc
comparison
equal deleted inserted replaced
61:3a4f0ef1e8c3 62:20563735e8b5
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 "tcpfwd-direct.h" 38 #include "tcp-accept.h"
39 #include "tcp-connect.h"
39 #include "service.h" 40 #include "service.h"
40 #include "auth.h" 41 #include "auth.h"
41 #include "tcpfwd-remote.h"
42 #include "runopts.h" 42 #include "runopts.h"
43 43
44 static void svr_remoteclosed(); 44 static void svr_remoteclosed();
45 45
46 struct serversession svr_ses; /* GLOBAL */ 46 struct serversession svr_ses; /* GLOBAL */
63 {0, 0} /* End */ 63 {0, 0} /* End */
64 }; 64 };
65 65
66 static const struct ChanType *svr_chantypes[] = { 66 static const struct ChanType *svr_chantypes[] = {
67 &svrchansess, 67 &svrchansess,
68 &chan_tcpdirect, 68 &svr_chan_tcpdirect,
69 NULL /* Null termination is mandatory. */ 69 NULL /* Null termination is mandatory. */
70 }; 70 };
71 71
72 void svr_session(int sock, int childpipe, char* remotehost) { 72 void svr_session(int sock, int childpipe, char* remotehost) {
73 73