mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 20:42:23 +00:00
Remove GIT_CRED_VERSION and friends
This commit is contained in:
parent
7bcfbe16c5
commit
2da619abde
@ -31,15 +31,11 @@ typedef enum {
|
||||
|
||||
/* The base structure for all credential types */
|
||||
typedef struct git_cred {
|
||||
unsigned int version; /* This should update if subtypes are extended */
|
||||
git_credtype_t credtype;
|
||||
void (*free)(
|
||||
struct git_cred *cred);
|
||||
} git_cred;
|
||||
|
||||
#define GIT_CRED_VERSION 1
|
||||
#define GIT_CRED_INIT {GIT_CRED_VERSION, 0}
|
||||
|
||||
/* A plaintext username and password */
|
||||
typedef struct git_cred_userpass_plaintext {
|
||||
git_cred parent;
|
||||
|
Loading…
Reference in New Issue
Block a user