removed the ^7 after player names in various engine messages and made
[divverent/darkplaces.git] / libcurl.h
1 void Curl_Run();
2 qboolean Curl_Running();
3 void Curl_Begin(const char *URL, const char *name, qboolean ispak, qboolean forthismap);
4 void Curl_Init();
5 void Curl_Init_Commands();
6 void Curl_Shutdown();
7 void Curl_CancelAll();
8 void Curl_Clear_forthismap();
9 qboolean Curl_Have_forthismap();
10 void Curl_Register_predownload();
11
12 void Curl_ClearRequirements();
13 void Curl_RequireFile(const char *filename);
14 void Curl_SendRequirements();
15
16 typedef struct Curl_downloadinfo_s
17 {
18         char filename[MAX_QPATH];
19         double progress;
20         double speed;
21         qboolean queued;
22 }
23 Curl_downloadinfo_t;
24 Curl_downloadinfo_t *Curl_GetDownloadInfo(int *nDownloads, const char **additional_info);
25         // this may and should be Z_Free()ed
26         // the result is actually an array
27         // an additional info string may be returned in additional_info as a
28         // pointer to a static string (but the argument may be NULL if the caller
29         // does not care)