X-Git-Url: https://git.octo.it/?p=git.git;a=blobdiff_plain;f=http.h;h=9ca16acec25e3925c36bbade09b2cb7b4aa07842;hp=d6dc9d89fbc4be0fd5acd3e7bc50302da69f3d05;hb=162f41292167a800432fc6bbacfcd9f93a90b0c8;hpb=c8568e139ed2149fbfb7ef9a8d819d5b6b7c554f diff --git a/http.h b/http.h index d6dc9d89..9ca16ace 100644 --- a/http.h +++ b/http.h @@ -35,6 +35,7 @@ struct active_request_slot int in_use; CURLcode curl_result; long http_code; + int *finished; struct slot_results *results; void *callback_data; void (*callback_func)(void *data); @@ -61,6 +62,7 @@ extern struct active_request_slot *get_active_slot(void); extern int start_active_slot(struct active_request_slot *slot); extern void run_active_slot(struct active_request_slot *slot); extern void finish_all_active_slots(void); +extern void release_active_slot(struct active_request_slot *slot); #ifdef USE_CURL_MULTI extern void fill_active_slots(void);