summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-28 23:24:30 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-28 23:24:30 +0800
commit125a970d71d5b43b7b648412fcc614e782c42a1d (patch)
tree8bbc278b055fd573a9d40ba171d9031626551371 /channel.h
parent59bb1777be18b8f1b263aaeabe54a32933fc871d (diff)
parent89c0b2a6d863e54bd0253355146f09b92edeccda (diff)
merge tcp 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 689d2d6..99b1b42 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);