summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-18 22:46:15 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-18 22:46:15 +0800
commit755c1458f0197d4da1dcb86ac832a8ffa8d02b27 (patch)
treecebef8bd66e3998f615939be9e6a4e3f78f3b255 /channel.h
parent8795d733ecd27ef7aa1cc5d9e68b5ecb5a90f64e (diff)
async connections working
--HG-- branch : fastopen
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/channel.h b/channel.h
index a310d44..b543ea1 100644
--- a/channel.h
+++ b/channel.h
@@ -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);