Няма описание

mztools.h 677B

1234567891011121314151617181920212223242526272829303132
  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