X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=libcurl.h;h=15bf019b743bcf123d879a28121344fce1cfbc0c;hb=1da342cb637815a1eb2d9d96384ceb6fa4765d3f;hp=c01aed35ce30bd4fc4fee21e80f037d291a60743;hpb=f98d8c2c5a30c8a83d15e958f69ea373cd4f3737;p=xonotic%2Fdarkplaces.git diff --git a/libcurl.h b/libcurl.h index c01aed35..15bf019b 100644 --- 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);