summaryrefslogtreecommitdiff
path: root/netio.h
diff options
context:
space:
mode:
Diffstat (limited to 'netio.h')
-rw-r--r--netio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/netio.h b/netio.h
index 1bf08ce..33e1b4d 100644
--- a/netio.h
+++ b/netio.h
@@ -27,6 +27,7 @@ struct dropbear_progress_connection;
errstring is only set on DROPBEAR_FAILURE, returns failure message for the last attempted socket */
typedef void(*connect_callback)(int result, int sock, void* data, const char* errstring);
+/* Always returns a progress connection, if it fails it will call the callback at a later point */
struct dropbear_progress_connection * connect_remote (const char* remotehost, const char* remoteport,
connect_callback cb, void *cb_data);