X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.h;h=0b61653894eff606980427ee26770fa088438b94;hb=fc2d99f1e95252dcd3eb645a370a658bea7fd5bd;hp=d0089d1f7a9b79f8b6ab45c79b9e0b40321529e2;hpb=df26c471278f13ca6ad96b12a533ef4172323c13;p=git.git diff --git a/http.h b/http.h index d0089d1f7..0b6165389 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,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); +extern void http_init(struct remote *remote, const char *url, + int proactive_auth); extern void http_cleanup(void); extern int active_requests; @@ -171,7 +171,7 @@ struct http_object_request { unsigned char sha1[20]; unsigned char real_sha1[20]; git_SHA_CTX c; - z_stream stream; + git_zstream stream; int zret; int rename; struct active_request_slot *slot;