+qboolean Curl_Begin_ToMemory(const char *URL, double maxspeed, unsigned char *buf, size_t bufsize, curl_callback_t callback, void *cbdata);
+qboolean Curl_Begin_ToMemory_POST(const char *URL, const char *extraheaders, double maxspeed, const char *post_content_type, const unsigned char *postbuf, size_t postbufsize, unsigned char *buf, size_t bufsize, curl_callback_t callback, void *cbdata);
+ // NOTE: if these return false, the callback will NOT get called, so free your buffer then!
+void Curl_Cancel_ToMemory(curl_callback_t callback, void *cbdata);
+ // removes all downloads with the given callback and cbdata (this does NOT call the callbacks!)
+
+void Curl_Init(void);
+void Curl_Init_Commands(void);
+void Curl_Shutdown(void);
+void Curl_CancelAll(void);
+void Curl_Clear_forthismap(void);
+qboolean Curl_Have_forthismap(void);
+void Curl_Register_predownload(void);
+
+void Curl_ClearRequirements(void);