X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=http.h;h=d6dc9d89fbc4be0fd5acd3e7bc50302da69f3d05;hb=6a1f79c1f1a54f97f122a86c71837fb1f1408b67;hp=ed4ea3340e48307e087a311136d1fe4f74b2d607;hpb=5e80092f7e6db09a40a62e837ca3f74f0bc5ad73;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;