X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=libcurl.h;h=ed05551c10bf27d31043951425b9a584bc7787cc;hb=02606e8045ed3c3df8d5e9337329d4915560766f;hp=4b098becc1dbce5baeea9970456567afa7f79db7;hpb=1dfae27462dba735f317cac38f3b7deb415ed154;p=xonotic%2Fdarkplaces.git diff --git a/libcurl.h b/libcurl.h index 4b098bec..ed05551c 100644 --- a/libcurl.h +++ b/libcurl.h @@ -14,7 +14,7 @@ qboolean Curl_Running(void); 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); -qboolean Curl_Begin_ToMemory_POST(const char *URL, 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); +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); // NOTE: if these return 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!)