X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=http.h;h=a0b59015948c3b9736dd6c09fd9137f7ecd4f59a;hb=48c250a121a425a1860226b6a7061aecfbab5246;hp=c78cacb9c3543caf1f59b9068cac2b053ef088f9;hpb=419ff2c575b96555dedac8c736025acfca9f982f;p=git.git diff --git a/http.h b/http.h index c78cacb9c..a0b590159 100644 --- a/http.h +++ b/http.h @@ -127,6 +127,8 @@ extern void end_url_with_slash(struct strbuf *buf, const char *url); #define HTTP_MISSING_TARGET 1 #define HTTP_ERROR 2 #define HTTP_START_FAILED 3 +#define HTTP_REAUTH 4 +#define HTTP_NOAUTH 5 /* * Requests an url and stores the result in a strbuf. @@ -153,7 +155,6 @@ struct http_pack_request struct packed_git *target; struct packed_git **lst; FILE *packfile; - char filename[PATH_MAX]; char tmpfile[PATH_MAX]; struct curl_slist *range_header; struct active_request_slot *slot; @@ -168,7 +169,6 @@ extern void release_http_pack_request(struct http_pack_request *preq); struct http_object_request { char *url; - char filename[PATH_MAX]; char tmpfile[PATH_MAX]; int localfile; CURLcode curl_result;