X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.h;h=915c2862a65bdbf42472099f9ed53ca68c2ccfd9;hb=926b1ec63ee045503f609e88ca445b94c06bd5d7;hp=0bf8592dc45209c9be5b8ddac3a53f6fc11e29be;hpb=3686aa1caf907d22fe318c28efe93f0e7870ba50;p=git.git diff --git a/http.h b/http.h index 0bf8592dc..915c2862a 100644 --- a/http.h +++ b/http.h @@ -49,7 +49,6 @@ struct slot_results { struct active_request_slot { CURL *curl; - FILE *local; int in_use; CURLcode curl_result; long http_code; @@ -86,10 +85,10 @@ extern void add_fill_function(void *data, int (*fill)(void *)); extern void step_active_slots(void); #endif -extern void http_init(struct remote *remote); +extern void http_init(struct remote *remote, const char *url, + int proactive_auth); extern void http_cleanup(void); -extern int data_received; extern int active_requests; extern int http_is_verbose; extern size_t http_post_buffer; @@ -128,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. */