diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-02-18 22:46:15 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-02-18 22:46:15 +0800 |
commit | 755c1458f0197d4da1dcb86ac832a8ffa8d02b27 (patch) | |
tree | cebef8bd66e3998f615939be9e6a4e3f78f3b255 /channel.h | |
parent | 8795d733ecd27ef7aa1cc5d9e68b5ecb5a90f64e (diff) |
async connections working
--HG--
branch : fastopen
Diffstat (limited to 'channel.h')
-rw-r--r-- | channel.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -73,6 +73,7 @@ struct Channel { * to ensure we don't run it twice (nor type->checkclose()). */ int close_handler_done; + struct dropbear_progress_connection *conn_pending; int initconn; /* used for TCP forwarding, whether the channel has been fully initialised */ @@ -100,6 +101,9 @@ struct ChanType { void (*closehandler)(struct Channel*); }; +/* Callback for connect_remote */ +void channel_connect_done(int result, int sock, void* user_data, const char* errstring); + void chaninitialise(const struct ChanType *chantypes[]); void chancleanup(); void setchannelfds(fd_set *readfd, fd_set *writefd); |