summaryrefslogtreecommitdiffhomepage
path: root/dbutil.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 /dbutil.h
parent8795d733ecd27ef7aa1cc5d9e68b5ecb5a90f64e (diff)
async connections working
--HG-- branch : fastopen
Diffstat (limited to 'dbutil.h')
-rw-r--r--dbutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbutil.h b/dbutil.h
index 3f4f165..e05b249 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -129,4 +129,7 @@ struct dropbear_progress_connection * connect_remote (const char* remotehost, co
void set_connect_fds(fd_set *writefd);
void handle_connect_fds(fd_set *writefd);
+/* Doesn't actually stop the connect, but adds a dummy callback instead */
+void cancel_connect(struct dropbear_progress_connection *c);
+
#endif /* _DBUTIL_H_ */