aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-10-10 10:46:28 +0200
committerAndreas Schneider <mail@cynapses.org>2009-10-10 10:51:56 +0200
commitbe75fac7ff4e66ededa6d4353d99507fab4ebf42 (patch)
tree878f8fedfcdc584b708b3e8858f4b0fb1d20a78a /include
parent6ec65c6f9d1aefddaccf0a9816dae0b68a46ea33 (diff)
downloadlibssh-be75fac7ff4e66ededa6d4353d99507fab4ebf42.tar.gz
libssh-be75fac7ff4e66ededa6d4353d99507fab4ebf42.tar.xz
libssh-be75fac7ff4e66ededa6d4353d99507fab4ebf42.zip
Add a function to set the callback structure to the session.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/callback.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/libssh/callback.h b/include/libssh/callback.h
index 51a2ece9..25f071a7 100644
--- a/include/libssh/callback.h
+++ b/include/libssh/callback.h
@@ -82,12 +82,7 @@ typedef struct ssh_callbacks_struct * ssh_callbacks;
p->size=sizeof(*p); \
} while(0);
-LIBSSH_API int ssh_set_auth_callback(ssh_session session, ssh_auth_callback cb,
- void *userdata);
-LIBSSH_API int ssh_set_log_callback(ssh_session session,
- ssh_log_callback cb, void *userdata);
-LIBSSH_API int ssh_set_status_callback(ssh_session session, void (*callback)
- (void *arg, float status), void *arg);
+LIBSSH_API int ssh_set_callbacks(ssh_session session, ssh_callbacks cb);
#ifdef __cplusplus
}