]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - libcurl.h
Fix file paths.
[xonotic/darkplaces.git] / libcurl.h
index 43ab1713856913553a8da7c86994b7e376651d73..d960be8af0939c7c97eb19293e5bbe4657b75ecd 100644 (file)
--- a/libcurl.h
+++ b/libcurl.h
@@ -1,3 +1,7 @@
+#include <stddef.h>
+#include "qtypes.h"
+#include "qdefs.h"
+
 enum
 {
        CURLCBSTATUS_OK = 0,
@@ -9,7 +13,7 @@ enum
 typedef void (*curl_callback_t) (int status, size_t length_received, unsigned char *buffer, void *cbdata);
 // code is one of the CURLCBSTATUS constants, or the HTTP error code (when > 0).
 
-void Curl_Run(void);
+void Curl_Frame(void);
 qbool Curl_Running(void);
 qbool Curl_Begin_ToFile(const char *URL, double maxspeed, const char *name, int loadtype, qbool forthismap);