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
677 B

  1. /*
  2. Additional tools for Minizip
  3. Code: Xavier Roche '2004
  4. License: Same as ZLIB (www.gzip.org)
  5. */
  6. #ifndef _zip_tools_H
  7. #define _zip_tools_H
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #ifndef _ZLIB_H
  12. #include "zlib.h"
  13. #endif
  14. #include "unzip.h"
  15. /* Repair a ZIP file (missing central directory)
  16. file: file to recover
  17. fileOut: output file after recovery
  18. fileOutTmp: temporary file name used for recovery
  19. */
  20. extern int ZEXPORT unzRepair(const char* file,
  21. const char* fileOut,
  22. const char* fileOutTmp,
  23. uLong* nRecovered,
  24. uLong* bytesRecovered);
  25. #endif