Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
1b3fe73c
Commit
1b3fe73c
authored
Nov 20, 2013
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting fix for cred_acquire_cb
parent
e479628a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
include/git2/transport.h
+6
-6
No files found.
include/git2/transport.h
View file @
1b3fe73c
...
...
@@ -167,13 +167,13 @@ GIT_EXTERN(int) git_cred_default_new(git_cred **out);
/**
* Signature of a function which acquires a credential object.
*
*
@param cred
The newly created credential object.
*
@param url
The resource for which we are demanding a credential.
*
@param username_from_url
The username that was embedded in a "user@host"
*
- cred:
The newly created credential object.
*
- url:
The resource for which we are demanding a credential.
*
- username_from_url:
The username that was embedded in a "user@host"
* remote url, or NULL if not included.
*
@param allowed_types
A bitmask stating which cred types are OK to return.
*
@param payload
The payload provided when specifying this callback.
*
@return 0 for success or an error code for failure
*
- allowed_types:
A bitmask stating which cred types are OK to return.
*
- payload:
The payload provided when specifying this callback.
*
- returns 0 for success or non-zero to indicate an error
*/
typedef
int
(
*
git_cred_acquire_cb
)(
git_cred
**
cred
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment