X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=credential.h;h=96ea41bd1c99c05d63cb965a5fc57fcd838f3fdb;hb=4d466b69fe4695ffff1de1f494dada67074d2b50;hp=8a6d162e7b477d329b23effae8f0007163f39f3d;hpb=d3e847c107c236126476e7efb272be3fa4339825;p=git.git diff --git a/credential.h b/credential.h index 8a6d162e7..96ea41bd1 100644 --- a/credential.h +++ b/credential.h @@ -5,7 +5,9 @@ struct credential { struct string_list helpers; - unsigned approved:1; + unsigned approved:1, + configured:1, + use_http_path:1; char *username; char *password; @@ -25,5 +27,7 @@ void credential_reject(struct credential *); int credential_read(struct credential *, FILE *); void credential_from_url(struct credential *, const char *url); +int credential_match(const struct credential *have, + const struct credential *want); #endif /* CREDENTIAL_H */