Mercurial > dropbear
comparison tcpfwd-direct.c @ 11:f76c9389e9e0
Mostly done with the listener changeover
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 03 Jun 2004 17:22:48 +0000 |
parents | 7f77962de998 |
children | 469950e86d0f |
comparison
equal
deleted
inserted
replaced
9:7f77962de998 | 11:f76c9389e9e0 |
---|---|
7 #ifndef DISABLE_TCPFWD_DIRECT | 7 #ifndef DISABLE_TCPFWD_DIRECT |
8 static int newtcpdirect(struct Channel * channel); | 8 static int newtcpdirect(struct Channel * channel); |
9 static int newtcp(const char * host, int port); | 9 static int newtcp(const char * host, int port); |
10 | 10 |
11 const struct ChanType chan_tcpdirect = { | 11 const struct ChanType chan_tcpdirect = { |
12 0, /* sepfds */ | 12 1, /* sepfds */ |
13 "direct-tcpip", | 13 "direct-tcpip", |
14 newtcpdirect, /* init */ | 14 newtcpdirect, /* init */ |
15 NULL, /* checkclose */ | 15 NULL, /* checkclose */ |
16 NULL, /* reqhandler */ | 16 NULL, /* reqhandler */ |
17 NULL /* closehandler */ | 17 NULL /* closehandler */ |