Commit 043112dc by Jacques Germishuys

Replace void * with proper callback types

parent 8ec0a552
...@@ -86,7 +86,7 @@ typedef struct git_cred_ssh_key { ...@@ -86,7 +86,7 @@ typedef struct git_cred_ssh_key {
typedef struct git_cred_ssh_interactive { typedef struct git_cred_ssh_interactive {
git_cred parent; git_cred parent;
char *username; char *username;
void *prompt_callback; git_cred_ssh_interactive_callback prompt_callback;
void *payload; void *payload;
} git_cred_ssh_interactive; } git_cred_ssh_interactive;
...@@ -98,7 +98,7 @@ typedef struct git_cred_ssh_custom { ...@@ -98,7 +98,7 @@ typedef struct git_cred_ssh_custom {
char *username; char *username;
char *publickey; char *publickey;
size_t publickey_len; size_t publickey_len;
void *sign_callback; git_cred_sign_callback sign_callback;
void *payload; void *payload;
} git_cred_ssh_custom; } git_cred_ssh_custom;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment