summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2021-03-05 21:13:20 +0800
committerMatt Johnston <matt@ucc.asn.au>2021-03-05 21:13:20 +0800
commit3c2f113a783651aae7612dcffdc8e74a9db69702 (patch)
tree47b4f214d863ba7c56e1c7803ec10d5b8d5964ce /channel.h
parentf193e95a3ecd9e1c9ecf4b594517f3326e40f5e5 (diff)
Return errstring on connect failure
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.h b/channel.h
index 557d889..3860f93 100644
--- a/channel.h
+++ b/channel.h
@@ -104,7 +104,7 @@ struct ChanType {
void (*cleanup)(const struct Channel*);
};
-/* Callback for connect_remote */
+/* Callback for connect_remote. errstring may be NULL if result == DROPBEAR_SUCCESS */
void channel_connect_done(int result, int sock, void* user_data, const char* errstring);
void chaninitialise(const struct ChanType *chantypes[]);