summaryrefslogtreecommitdiff
path: root/source/cl_local.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-06-11 22:19:00 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-06-11 22:19:00 +0000
commit79fba287e607d1e3d0dfab3aa1d23257111cc787 (patch)
treea68d62c0b6064ca1276b75a5b4f422980186663e /source/cl_local.h
parentbd091577892489e7d4a2fc83a62dccefababf06b (diff)
Ported HTTP downloading implementation from R1Q2.
Added ‘--enable-curl’ option to configure script.
Diffstat (limited to 'source/cl_local.h')
-rw-r--r--source/cl_local.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/source/cl_local.h b/source/cl_local.h
index 2c79de8..8ba2f9f 100644
--- a/source/cl_local.h
+++ b/source/cl_local.h
@@ -421,12 +421,12 @@ void CL_Init (void);
void CL_Quit_f (void);
void CL_Disconnect( error_type_t type, const char *text );
void CL_RequestNextDownload (void);
+void CL_ResetPrecacheCheck( void );
void CL_CheckForResend( void );
void CL_ClearState (void);
void CL_RestartFilesystem( qboolean total );
void CL_RestartRefresh( qboolean total );
void CL_ClientCommand( const char *string );
-void CL_UpdateLocalFovSetting( void );
void CL_LoadState( load_state_t state );
void CL_SendRcon( const netadr_t *adr, const char *pass, const char *cmd );
const char *CL_Server_g( const char *partial, int argnum, int state );
@@ -758,3 +758,16 @@ void Key_WriteBindings( fileHandle_t f );
//
void CL_InitAscii( void );
+#if USE_CURL
+//
+// cl_http.c
+//
+void HTTP_CancelDownloads (void);
+void HTTP_Init (void);
+void HTTP_Shutdown (void);
+qboolean HTTP_QueueDownload (const char *path);
+void HTTP_RunDownloads (void);
+qboolean HTTP_DownloadsPending (void);
+void HTTP_SetServer (const char *url);
+#endif
+