X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.h;h=915c2862a65bdbf42472099f9ed53ca68c2ccfd9;hb=c2df7585efcced5833891938fe01c24c9fb36dd7;hp=ee1606942a9716b45da937873949220ab7f8092b;hpb=699eb54876669f0c109a34e0c01a9dd0c67725fa;p=git.git diff --git a/http.h b/http.h index ee1606942..915c2862a 100644 --- a/http.h +++ b/http.h @@ -85,7 +85,8 @@ extern void add_fill_function(void *data, int (*fill)(void *)); extern void step_active_slots(void); #endif -extern void http_init(struct remote *remote, const char *url); +extern void http_init(struct remote *remote, const char *url, + int proactive_auth); extern void http_cleanup(void); extern int active_requests; @@ -126,7 +127,7 @@ extern char *get_remote_object_url(const char *url, const char *hex, #define HTTP_NOAUTH 5 /* - * Requests an url and stores the result in a strbuf. + * Requests a URL and stores the result in a strbuf. * * If the result pointer is NULL, a HTTP HEAD request is made instead of GET. */