mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-04 19:50:19 +00:00
Merge pull request #4172 from rcjsuen/patch-1
Fix the documentation for git_cred_acquire_cb
This commit is contained in:
commit
69d0b460f0
@ -321,13 +321,13 @@ GIT_EXTERN(void) git_cred_free(git_cred *cred);
|
|||||||
/**
|
/**
|
||||||
* Signature of a function which acquires a credential object.
|
* Signature of a function which acquires a credential object.
|
||||||
*
|
*
|
||||||
* - cred: The newly created credential object.
|
* @param cred The newly created credential object.
|
||||||
* - url: The resource for which we are demanding a credential.
|
* @param url The resource for which we are demanding a credential.
|
||||||
* - username_from_url: The username that was embedded in a "user\@host"
|
* @param username_from_url The username that was embedded in a "user\@host"
|
||||||
* remote url, or NULL if not included.
|
* remote url, or NULL if not included.
|
||||||
* - allowed_types: A bitmask stating which cred types are OK to return.
|
* @param allowed_types A bitmask stating which cred types are OK to return.
|
||||||
* - payload: The payload provided when specifying this callback.
|
* @param payload The payload provided when specifying this callback.
|
||||||
* - returns 0 for success, < 0 to indicate an error, > 0 to indicate
|
* @return 0 for success, < 0 to indicate an error, > 0 to indicate
|
||||||
* no credential was acquired
|
* no credential was acquired
|
||||||
*/
|
*/
|
||||||
typedef int (*git_cred_acquire_cb)(
|
typedef int (*git_cred_acquire_cb)(
|
||||||
|
Loading…
Reference in New Issue
Block a user