]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - libcurl.h
fix lightmap loading from TGAs; fix display of QC-initiated downloads
[xonotic/darkplaces.git] / libcurl.h
index 5b861278f4a5763dd892714ebd5fe090ebcf0f2d..f8de728e34a2e7fd059bf0ad6039fd011fdff454 100644 (file)
--- a/libcurl.h
+++ b/libcurl.h
@@ -14,6 +14,8 @@ qboolean Curl_Running();
 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);
        // 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!)
 void Curl_Init();
 void Curl_Init_Commands();
 void Curl_Shutdown();