diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-25 23:56:28 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-25 23:56:28 +0200 |
commit | 358647f5d9df24fc55f670a343152fd277416266 (patch) | |
tree | 916be09f23ed3acc8c477e357df135172563a764 | |
parent | 5e76118512b92d42035f5dcdd7e4469aca2da23f (diff) | |
download | libssh-358647f5d9df24fc55f670a343152fd277416266.tar.gz libssh-358647f5d9df24fc55f670a343152fd277416266.tar.xz libssh-358647f5d9df24fc55f670a343152fd277416266.zip |
More comment
-rw-r--r-- | include/libssh/callback.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libssh/callback.h b/include/libssh/callback.h index 22dcfb4..3aac65b 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; |