git-prompt.sh: if pc mode, immediately set PS1 to a plain prompt
[gitweb.git] / credential.h
index 96ea41bd1c99c05d63cb965a5fc57fcd838f3fdb..6b0cd16be2b96b23ae5ce14a07a8ad130af8d5bb 100644 (file)
@@ -7,6 +7,7 @@ struct credential {
        struct string_list helpers;
        unsigned approved:1,
                 configured:1,
+                quit:1,
                 use_http_path:1;
 
        char *username;
@@ -26,6 +27,7 @@ void credential_approve(struct credential *);
 void credential_reject(struct credential *);
 
 int credential_read(struct credential *, FILE *);
+void credential_write(const struct credential *, FILE *);
 void credential_from_url(struct credential *, const char *url);
 int credential_match(const struct credential *have,
                     const struct credential *want);