]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - libcurl.h
Fix engine not starting on Windows if linked against SDL > 2.0.5
[xonotic/darkplaces.git] / libcurl.h
index c01aed35ce30bd4fc4fee21e80f037d291a60743..15bf019b743bcf123d879a28121344fce1cfbc0c 100644 (file)
--- a/libcurl.h
+++ b/libcurl.h
@@ -15,6 +15,7 @@ qboolean Curl_Begin_ToFile(const char *URL, double maxspeed, const char *name, i
 
 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);