Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.   Copyright (c) 1990-2007 Info-ZIP.  All rights reserved.
  3.  
  4.   See the accompanying file LICENSE, version 2007-Mar-04 or later
  5.   (the contents of which are also included in unzip.h) for terms of use.
  6.   If, for some reason, all these files are missing, the Info-ZIP license
  7.   also may be found at:  ftp://ftp.info-zip.org/pub/infozip/license.html
  8. */
  9. #ifndef __decs_h   /* prevent multiple inclusions */
  10. #define __decs_h
  11.  
  12. /* for UnZip, the "basic" part of the win32 api is sufficient */
  13. #ifndef WIN32_LEAN_AND_MEAN
  14. #  define WIN32_LEAN_AND_MEAN
  15. #  define IZ_HASDEFINED_WIN32LEAN
  16. #endif
  17. #include <windows.h>
  18. #ifndef __unzip_h
  19. #  include "../unzip.h"
  20. #endif
  21. #ifndef __structs_h
  22. #  include "../windll/structs.h"
  23. #endif
  24. #ifdef IZ_HASDEFINED_WIN32LEAN
  25. #  undef WIN32_LEAN_AND_MEAN
  26. #  undef IZ_HASDEFINED_WIN32LEAN
  27. #endif
  28.  
  29. #define Wiz_Match match
  30.  
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34.  
  35. void    WINAPI Wiz_NoPrinting(int f);
  36. int     WINAPI Wiz_Validate(LPSTR archive, int AllCodes);
  37. BOOL    WINAPI Wiz_Init(zvoid *, LPUSERFUNCTIONS);
  38. BOOL    WINAPI Wiz_SetOpts(zvoid *, LPDCL);
  39. int     WINAPI Wiz_Unzip(zvoid *, int, char **, int, char **);
  40. int     WINAPI Wiz_SingleEntryUnzip(int, char **, int, char **,
  41.                                     LPDCL, LPUSERFUNCTIONS);
  42. int     WINAPI Wiz_SingleEntryUnzpList(unsigned, LPCSTR, unsigned, LPCSTR,
  43.                                        LPDCL, LPUSERFUNCTIONS);
  44.  
  45. int     WINAPI Wiz_UnzipToMemory(LPSTR zip, LPSTR file,
  46.                                  LPUSERFUNCTIONS lpUserFunctions,
  47.                                  UzpBuffer *retstr);
  48. int     WINAPI Wiz_Grep(LPSTR archive, LPSTR file, LPSTR pattern,
  49.                         int cmd, int SkipBin,
  50.                         LPUSERFUNCTIONS lpUserFunctions);
  51.  
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55.  
  56. #endif /* __decs_h */
  57.