mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-30 18:05:30 +00:00
Replace void * with proper callback types
This commit is contained in:
parent
8ec0a55273
commit
043112dc1c
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user