aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-25 23:56:28 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-25 23:56:28 +0200
commit358647f5d9df24fc55f670a343152fd277416266 (patch)
tree916be09f23ed3acc8c477e357df135172563a764
parent5e76118512b92d42035f5dcdd7e4469aca2da23f (diff)
downloadlibssh-358647f5d9df24fc55f670a343152fd277416266.tar.gz
libssh-358647f5d9df24fc55f670a343152fd277416266.tar.xz
libssh-358647f5d9df24fc55f670a343152fd277416266.zip
More comment
-rw-r--r--include/libssh/callback.h5
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;