]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http.h
The sixth batch
[thirdparty/git.git] / http.h
diff --git a/http.h b/http.h
index 3af19a8bf53e0550fa7c877bb661c34463283adf..a516ca4a9a2db13ae65dad385f39b987ec638268 100644 (file)
--- a/http.h
+++ b/http.h
@@ -175,6 +175,9 @@ int http_get_file(const char *url, const char *filename,
 
 int http_fetch_ref(const char *base, struct ref *ref);
 
+struct curl_slist *http_append_auth_header(const struct credential *c,
+                                          struct curl_slist *headers);
+
 /* Helpers for fetching packs */
 int http_get_info_packs(const char *base_url,
                        struct packed_git **packs_head);
@@ -196,6 +199,7 @@ struct http_pack_request {
        FILE *packfile;
        struct strbuf tmpfile;
        struct active_request_slot *slot;
+       struct curl_slist *headers;
 };
 
 struct http_pack_request *new_http_pack_request(
@@ -229,6 +233,7 @@ struct http_object_request {
        int zret;
        int rename;
        struct active_request_slot *slot;
+       struct curl_slist *headers;
 };
 
 struct http_object_request *new_http_object_request(