X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=http.h;h=d6dc9d89fbc4be0fd5acd3e7bc50302da69f3d05;hb=cb754fdf5a742a5479458da84d8f92bce2434ed5;hp=ed4ea3340e48307e087a311136d1fe4f74b2d607;hpb=069b20a198f171512a1d2d2163b40f70c94f5257;p=git.git diff --git a/http.h b/http.h index ed4ea334..d6dc9d89 100644 --- a/http.h +++ b/http.h @@ -22,6 +22,12 @@ #define NO_CURL_EASY_DUPHANDLE #endif +struct slot_results +{ + CURLcode curl_result; + long http_code; +}; + struct active_request_slot { CURL *curl; @@ -29,6 +35,7 @@ struct active_request_slot int in_use; CURLcode curl_result; long http_code; + struct slot_results *results; void *callback_data; void (*callback_func)(void *data); struct active_request_slot *next;