diff options
author | Jacques Germishuys <jacquesg@striata.com> | 2014-07-03 20:19:16 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2014-08-05 02:07:49 +0200 |
commit | dbcb7518a6ae213f0e81e3d625d49edd3c2a14b7 (patch) | |
tree | 9425a5e6372c87ee0677c771fcc6ba8fa9333fc5 | |
parent | 0e594633aa7e323055f7c07fd00101727cc285ac (diff) | |
download | libgit2-dbcb7518a6ae213f0e81e3d625d49edd3c2a14b7.tar.gz |
Fix git_cred_ssh_interactive_callback signature
-rw-r--r-- | include/git2/transport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/transport.h b/include/git2/transport.h index 94407263..1df264ea 100644 --- a/include/git2/transport.h +++ b/include/git2/transport.h @@ -69,7 +69,7 @@ typedef struct _LIBSSH2_USERAUTH_KBDINT_RESPONSE LIBSSH2_USERAUTH_KBDINT_RESPONS #endif typedef int (*git_cred_sign_callback)(LIBSSH2_SESSION *session, unsigned char **sig, size_t *sig_len, const unsigned char *data, size_t data_len, void **abstract); -typedef int (*git_cred_ssh_interactive_callback)(const char* name, int name_len, const char* instruction, int instruction_len, int num_prompts, const LIBSSH2_USERAUTH_KBDINT_PROMPT* prompts, LIBSSH2_USERAUTH_KBDINT_RESPONSE* responses, void **abstract); +typedef void (*git_cred_ssh_interactive_callback)(const char* name, int name_len, const char* instruction, int instruction_len, int num_prompts, const LIBSSH2_USERAUTH_KBDINT_PROMPT* prompts, LIBSSH2_USERAUTH_KBDINT_RESPONSE* responses, void **abstract); /** * A ssh key from disk |