diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-23 22:13:19 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-23 22:13:19 +0200 |
commit | 0e8e124d2023736c973ce8e06f4776efd1edb096 (patch) | |
tree | a713a4cdee7a21b4c4dceaa0e34b71fa67edbfb4 /include/libssh/callback.h | |
parent | 9a8d4cd0fdd18127065cacbc11296933669ea9ca (diff) | |
download | libssh-0e8e124d2023736c973ce8e06f4776efd1edb096.tar.gz libssh-0e8e124d2023736c973ce8e06f4776efd1edb096.tar.xz libssh-0e8e124d2023736c973ce8e06f4776efd1edb096.zip |
get rid of SSH_OPTIONS
Diffstat (limited to 'include/libssh/callback.h')
-rw-r--r-- | include/libssh/callback.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libssh/callback.h b/include/libssh/callback.h index fd60bc1..00a41d3 100644 --- a/include/libssh/callback.h +++ b/include/libssh/callback.h @@ -60,10 +60,10 @@ typedef struct ssh_callbacks_struct * ssh_callbacks; p->size=sizeof(*p); \ } while(0); -LIBSSH_API int ssh_options_set_auth_callback(SSH_OPTIONS *opt, ssh_auth_callback cb, +LIBSSH_API int ssh_options_set_auth_callback(ssh_options opt, ssh_auth_callback cb, void *userdata); -LIBSSH_API int ssh_options_set_log_function(SSH_OPTIONS *opt, +LIBSSH_API int ssh_options_set_log_function(ssh_options opt, ssh_log_callback cb, void *userdata); -LIBSSH_API int ssh_options_set_status_callback(SSH_OPTIONS *opt, void (*callback) +LIBSSH_API int ssh_options_set_status_callback(ssh_options opt, void (*callback) (void *arg, float status), void *arg); #endif /*_SSH_CALLBACK_H */ |