mirror of
https://git.proxmox.com/git/libgit2
synced 2025-09-16 16:44:15 +00:00
Formatting fix for cred_acquire_cb
This commit is contained in:
parent
e479628a01
commit
1b3fe73c8d
@ -167,13 +167,13 @@ GIT_EXTERN(int) git_cred_default_new(git_cred **out);
|
|||||||
/**
|
/**
|
||||||
* Signature of a function which acquires a credential object.
|
* Signature of a function which acquires a credential object.
|
||||||
*
|
*
|
||||||
* @param cred The newly created credential object.
|
* - cred: The newly created credential object.
|
||||||
* @param url The resource for which we are demanding a credential.
|
* - url: The resource for which we are demanding a credential.
|
||||||
* @param username_from_url The username that was embedded in a "user@host"
|
* - 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.
|
||||||
* @param allowed_types A bitmask stating which cred types are OK to return.
|
* - allowed_types: A bitmask stating which cred types are OK to return.
|
||||||
* @param payload The payload provided when specifying this callback.
|
* - payload: The payload provided when specifying this callback.
|
||||||
* @return 0 for success or an error code for failure
|
* - returns 0 for success or non-zero to indicate an error
|
||||||
*/
|
*/
|
||||||
typedef int (*git_cred_acquire_cb)(
|
typedef int (*git_cred_acquire_cb)(
|
||||||
git_cred **cred,
|
git_cred **cred,
|
||||||
|
Loading…
Reference in New Issue
Block a user