diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-08-23 16:33:59 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-08-23 16:33:59 +0200 |
commit | 8bae43876fff891e33d48b177778ee4cb882c45a (patch) | |
tree | 5c30ea9b6f73de5b116ad35e73f6da5bb2e6a301 /include/libssh/priv.h | |
parent | e707af1cd78f730e80da7b109ee33985d0ee3419 (diff) | |
download | libssh-8bae43876fff891e33d48b177778ee4cb882c45a.tar.gz libssh-8bae43876fff891e33d48b177778ee4cb882c45a.tar.xz libssh-8bae43876fff891e33d48b177778ee4cb882c45a.zip |
experimental callback system
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r-- | include/libssh/priv.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 152753a3..bf348d4e 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -372,7 +372,7 @@ struct ssh_scp_struct { size_t processed; }; -struct ssh_message; +struct ssh_message_struct; struct ssh_session_struct { struct error_struct error; @@ -438,7 +438,7 @@ struct ssh_session_struct { int auth_methods; int hostkeys; /* contains type of host key wanted by client, in server impl */ struct ssh_list *ssh_message_list; /* list of delayed SSH messages */ - int (*ssh_message_callback)( struct ssh_session_struct *session,struct ssh_message *msg); + int (*ssh_message_callback)( struct ssh_session_struct *session, ssh_message msg); int log_verbosity; /*cached copy of the option structure */ int log_indent; /* indentation level in enter_function logs */ }; @@ -506,7 +506,7 @@ struct ssh_channel_request { char *subsystem; }; -struct ssh_message { +struct ssh_message_struct { SSH_SESSION *session; int type; struct ssh_auth_request auth_request; @@ -707,7 +707,7 @@ ssh_string try_publickey_from_file(SSH_SESSION *session, /* in keys.c */ const char *ssh_type_to_char(int type); int ssh_type_from_name(const char *name); -ssh_buffer ssh_userauth_build_digest(SSH_SESSION *session, struct ssh_message *msg, char *service); +ssh_buffer ssh_userauth_build_digest(SSH_SESSION *session, ssh_message msg, char *service); ssh_private_key privatekey_make_dss(SSH_SESSION *session, ssh_buffer buffer); ssh_private_key privatekey_make_rsa(SSH_SESSION *session, ssh_buffer buffer, |