Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.3 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. //--------------------------------------------------------------------------------------------------------------
  9. // download.h
  10. //
  11. // Header file for optional HTTP asset downloading
  12. // Author: Matthew D. Campbell ([email protected]), 2004
  13. //--------------------------------------------------------------------------------------------------------------
  14. #ifndef DOWNLOAD_H
  15. #define DOWNLOAD_H
  16. //--------------------------------------------------------------------------------------------------------------
  17. // Function Prototypes
  18. //--------------------------------------------------------------------------------------------------------------
  19. void CL_HTTPStop_f(void);
  20. bool CL_DownloadUpdate(void);
  21. void CL_QueueDownload( const char *filename );
  22. bool CL_FileReceived( const char *filename, unsigned int requestID, bool isReplayDemoFile );
  23. bool CL_FileDenied( const char *filename, unsigned int requestID, bool isReplayDemoFile );
  24. int CL_GetDownloadQueueSize(void);
  25. int CL_CanUseHTTPDownload(void);
  26. void CL_MarkMapAsUsingHTTPDownload(void);
  27. bool CL_ShouldRedownloadFile( const char *filename );
  28. #endif // DOWNLOAD_H