]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - libcurl.h
cvsignore no longer used for ages, but we can make it into a .gitignore file
[xonotic/darkplaces.git] / libcurl.h
index 63500a4613c49928ec0d1027607abaec0fbf0c49..56a94e2a82628735a51e011bae41eee017e0ff7c 100644 (file)
--- a/libcurl.h
+++ b/libcurl.h
@@ -11,8 +11,8 @@ typedef void (*curl_callback_t) (int status, size_t length_received, unsigned ch
 
 void Curl_Run(void);
 qboolean Curl_Running(void);
-qboolean Curl_Begin_ToFile(const char *URL, const char *name, qboolean ispak, qboolean forthismap);
-qboolean Curl_Begin_ToMemory(const char *URL, unsigned char *buf, size_t bufsize, curl_callback_t callback, void *cbdata);
+qboolean Curl_Begin_ToFile(const char *URL, double maxspeed, const char *name, qboolean ispak, qboolean forthismap);
+qboolean Curl_Begin_ToMemory(const char *URL, double maxspeed, unsigned char *buf, size_t bufsize, curl_callback_t callback, void *cbdata);
        // NOTE: if it returns 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!)