lzexpand.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* Includefile for the decompression library, lzexpand
  2. *
  3. * Copyright 1996 Marcus Meissner
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this library; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18. */
  19. #ifndef __WINE_LZEXPAND_H
  20. #define __WINE_LZEXPAND_H
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif /* defined(__cplusplus) */
  24. #define LZERROR_BADINHANDLE -1 /* -1 */
  25. #define LZERROR_BADOUTHANDLE -2 /* -2 */
  26. #define LZERROR_READ -3 /* -3 */
  27. #define LZERROR_WRITE -4 /* -4 */
  28. #define LZERROR_GLOBALLOC -5 /* -5 */
  29. #define LZERROR_GLOBLOCK -6 /* -6 */
  30. #define LZERROR_BADVALUE -7 /* -7 */
  31. #define LZERROR_UNKNOWNALG -8 /* -8 */
  32. VOID WINAPI LZDone(void);
  33. LONG WINAPI CopyLZFile(HFILE,HFILE);
  34. HFILE WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
  35. HFILE WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
  36. #define LZOpenFile WINELIB_NAME_AW(LZOpenFile)
  37. INT WINAPI LZRead(INT,LPSTR,INT);
  38. INT WINAPI LZStart(void);
  39. void WINAPI LZClose(HFILE);
  40. LONG WINAPI LZCopy(HFILE,HFILE);
  41. HFILE WINAPI LZInit(HFILE);
  42. LONG WINAPI LZSeek(HFILE,LONG,INT);
  43. INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
  44. INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
  45. #define GetExpandedName WINELIB_NAME_AW(GetExpandedName)
  46. #ifdef __cplusplus
  47. } /* extern "C" */
  48. #endif /* defined(__cplusplus) */
  49. #endif /* __WINE_LZEXPAND_H */