From 358647f5d9df24fc55f670a343152fd277416266 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 25 Sep 2009 23:56:28 +0200 Subject: More comment --- include/libssh/callback.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/libssh/callback.h b/include/libssh/callback.h index 22dcfb4e..3aac65bc 100644 --- a/include/libssh/callback.h +++ b/include/libssh/callback.h @@ -50,7 +50,10 @@ typedef int (*ssh_auth_callback) (const char *prompt, char *buf, size_t len, int echo, int verify, void *userdata); typedef void (*ssh_log_callback) (ssh_session session, int priority, const char *message, void *userdata); - +/** this callback will be called with status going from 0.0 to 1.0 during + * connection */ +typedef void (*ssh_status_callback) (ssh_session session, float status, + void *userdata); struct ssh_callbacks_struct { /** size of this structure. internal, shoud be set with ssh_callbacks_init()*/ size_t size; -- cgit