index 36fa154d2f6adf19bac3db4985360174320f0b8d..6e12e416889503553ae502be31b2e9ed9e7dc4dd 100644 (file)
--- a/http.h
+++ b/http.h
#define NO_CURL_EASY_DUPHANDLE
#endif
+#if LIBCURL_VERSION_NUM < 0x070a03
+#define CURLE_HTTP_RETURNED_ERROR CURLE_HTTP_NOT_FOUND
+#endif
+
struct slot_results
{
CURLcode curl_result;
int in_use;
CURLcode curl_result;
long http_code;
+ int *finished;
struct slot_results *results;
void *callback_data;
void (*callback_func)(void *data);