]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - libcurl.h
Add more debugging prints in Draw_CachePic, most of these are for edge cases.
[xonotic/darkplaces.git] / libcurl.h
index c5e55dd3707d4d17c008ee5e32a48e1d6dcc6604..15bf019b743bcf123d879a28121344fce1cfbc0c 100644 (file)
--- a/libcurl.h
+++ b/libcurl.h
@@ -11,10 +11,11 @@ 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, double maxspeed, const char *name, qboolean ispak, qboolean forthismap);
+qboolean Curl_Begin_ToFile(const char *URL, double maxspeed, const char *name, int loadtype, qboolean forthismap);
 
 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);
+void Curl_Cancel_ToMemory(curl_callback_t callback, void* cbdata);
 
 void Curl_Init(void);
 void Curl_Init_Commands(void);