]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - libcurl.h
implement curl --cachepic and curl --skinframe (experimental)
[xonotic/darkplaces.git] / libcurl.h
index c5e55dd3707d4d17c008ee5e32a48e1d6dcc6604..c01aed35ce30bd4fc4fee21e80f037d291a60743 100644 (file)
--- a/libcurl.h
+++ b/libcurl.h
@@ -11,7 +11,7 @@ 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);