Commit 2da619ab by Ben Straub

Remove GIT_CRED_VERSION and friends

parent 7bcfbe16
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment