diff options
author | Jacques Germishuys <jacquesg@striata.com> | 2014-04-18 17:57:39 +0200 |
---|---|---|
committer | Jacques Germishuys <jacquesg@striata.com> | 2014-04-18 17:58:25 +0200 |
commit | 043112dc1c87433f92e1ea3b3ab76efe62edc448 (patch) | |
tree | 34df8ba2d22bd43756d9936d847e4729369b46e5 /include/git2/transport.h | |
parent | 8ec0a5527333afeca3f4ff3bf36fb8e1ac1c5939 (diff) | |
download | libgit2-043112dc1c87433f92e1ea3b3ab76efe62edc448.tar.gz |
Replace void * with proper callback types
Diffstat (limited to 'include/git2/transport.h')
-rw-r--r-- | include/git2/transport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/transport.h b/include/git2/transport.h index 80299c41c..1665f97b3 100644 --- a/include/git2/transport.h +++ b/include/git2/transport.h @@ -86,7 +86,7 @@ typedef struct git_cred_ssh_key { typedef struct git_cred_ssh_interactive { git_cred parent; char *username; - void *prompt_callback; + git_cred_ssh_interactive_callback prompt_callback; void *payload; } git_cred_ssh_interactive; @@ -98,7 +98,7 @@ typedef struct git_cred_ssh_custom { char *username; char *publickey; size_t publickey_len; - void *sign_callback; + git_cred_sign_callback sign_callback; void *payload; } git_cred_ssh_custom; |