summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-04-18 00:49:07 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-04-18 17:58:25 +0200
commit8ec0a5527333afeca3f4ff3bf36fb8e1ac1c5939 (patch)
treee1f1a5f56a0ad44496d7f05fda9570f73d88f581 /include
parent478408c01006f39ab916675bc84b8a7340bae086 (diff)
downloadlibgit2-8ec0a5527333afeca3f4ff3bf36fb8e1ac1c5939.tar.gz
Make git_cred_ssh_custom_new() naming more consistent
Diffstat (limited to 'include')
-rw-r--r--include/git2/transport.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/git2/transport.h b/include/git2/transport.h
index eba08cd27..80299c41c 100644
--- a/include/git2/transport.h
+++ b/include/git2/transport.h
@@ -99,7 +99,7 @@ typedef struct git_cred_ssh_custom {
char *publickey;
size_t publickey_len;
void *sign_callback;
- void *sign_data;
+ void *payload;
} git_cred_ssh_custom;
/** A key for NTLM/Kerberos "default" credentials */
@@ -186,8 +186,8 @@ GIT_EXTERN(int) git_cred_ssh_key_from_agent(
* @param username username to use to authenticate
* @param publickey The bytes of the public key.
* @param publickey_len The length of the public key in bytes.
- * @param sign_fn The callback method to sign the data during the challenge.
- * @param sign_data The data to pass to the sign function.
+ * @param sign_callback The callback method to sign the data during the challenge.
+ * @param payload Additional data to pass to the callback.
* @return 0 for success or an error code for failure
*/
GIT_EXTERN(int) git_cred_ssh_custom_new(
@@ -195,8 +195,8 @@ GIT_EXTERN(int) git_cred_ssh_custom_new(
const char *username,
const char *publickey,
size_t publickey_len,
- git_cred_sign_callback sign_fn,
- void *sign_data);
+ git_cred_sign_callback sign_callback,
+ void *payload);
/**
* Create a "default" credential usable for Negotiate mechanisms like NTLM