X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.h;h=72abac20f856b45c873cc370f23c7df08b650370;hb=c2e6b6d0d1e97c5bc2db24388e247bef62faf917;hp=69b6b667d956933eca7153b51867493d7271df0b;hpb=7468c297fa88f0035dc719e996b93b1404eee6e3;p=git.git diff --git a/http.h b/http.h index 69b6b667d..72abac20f 100644 --- a/http.h +++ b/http.h @@ -70,6 +70,7 @@ extern void release_active_slot(struct active_request_slot *slot); #ifdef USE_CURL_MULTI extern void fill_active_slots(void); +extern void add_fill_function(void *data, int (*fill)(void *)); extern void step_active_slots(void); #endif @@ -79,10 +80,6 @@ extern void http_cleanup(void); extern int data_received; extern int active_requests; -#ifdef USE_CURL_MULTI -extern int max_requests; -extern CURLM *curlm; -#endif #ifndef NO_CURL_EASY_DUPHANDLE extern CURL *curl_default; #endif @@ -103,6 +100,4 @@ extern long curl_low_speed_time; extern struct curl_slist *pragma_header; extern struct curl_slist *no_range_header; -extern struct active_request_slot *active_queue_head; - #endif /* HTTP_H */