git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13121
d7cf8633-e32d-0410-b094-
e92efae38249
Log_DestBuffer_Flush();
- Curl_Run();
+ Curl_Frame();
// check for commands typed to the host
Host_GetConsoleCommands();
/*
====================
-Curl_Run
+Curl_Frame
call this regularily as this will always download as much as possible without
blocking.
====================
*/
-void Curl_Run(void)
+void Curl_Frame(void)
{
double maxspeed;
downloadinfo *di;
====================
Curl_Running
-returns true iff there is a download running.
+returns true if there is a download running.
====================
*/
qbool Curl_Running(void)
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);