Alexandre Julliard | d2e1c1a | 1996-03-09 16:12:43 +0000 | [diff] [blame] | 1 | /* Includefile for the decompression library, lzexpand |
| 2 | * |
| 3 | * Copyright 1996 Marcus Meissner |
Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 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 |
Jonathan Ernst | 360a3f9 | 2006-05-18 14:49:52 +0200 | [diff] [blame] | 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
Alexandre Julliard | d2e1c1a | 1996-03-09 16:12:43 +0000 | [diff] [blame] | 18 | */ |
| 19 | |
Alexandre Julliard | c6c0944 | 1997-01-12 18:32:19 +0000 | [diff] [blame] | 20 | #ifndef __WINE_LZEXPAND_H |
| 21 | #define __WINE_LZEXPAND_H |
| 22 | |
Patrik Stridvall | 14da7b1 | 1999-06-12 10:53:06 +0000 | [diff] [blame] | 23 | #ifdef __cplusplus |
| 24 | extern "C" { |
| 25 | #endif /* defined(__cplusplus) */ |
| 26 | |
Alexandre Julliard | dadf78f | 1998-05-17 17:13:43 +0000 | [diff] [blame] | 27 | #define LZERROR_BADINHANDLE -1 /* -1 */ |
| 28 | #define LZERROR_BADOUTHANDLE -2 /* -2 */ |
| 29 | #define LZERROR_READ -3 /* -3 */ |
| 30 | #define LZERROR_WRITE -4 /* -4 */ |
| 31 | #define LZERROR_GLOBALLOC -5 /* -5 */ |
| 32 | #define LZERROR_GLOBLOCK -6 /* -6 */ |
| 33 | #define LZERROR_BADVALUE -7 /* -7 */ |
| 34 | #define LZERROR_UNKNOWNALG -8 /* -8 */ |
Alexandre Julliard | c6c0944 | 1997-01-12 18:32:19 +0000 | [diff] [blame] | 35 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 36 | VOID WINAPI LZDone(void); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 37 | LONG WINAPI CopyLZFile(HFILE,HFILE); |
Steven Edwards | e426e9a | 2003-04-30 17:15:06 +0000 | [diff] [blame] | 38 | HFILE WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD); |
| 39 | HFILE WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD); |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 40 | #define LZOpenFile WINELIB_NAME_AW(LZOpenFile) |
Steven Edwards | e426e9a | 2003-04-30 17:15:06 +0000 | [diff] [blame] | 41 | INT WINAPI LZRead(INT,LPSTR,INT); |
Alexandre Julliard | 83f52d1 | 2000-09-26 22:20:14 +0000 | [diff] [blame] | 42 | INT WINAPI LZStart(void); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 43 | void WINAPI LZClose(HFILE); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 44 | LONG WINAPI LZCopy(HFILE,HFILE); |
Alexandre Julliard | 83f52d1 | 2000-09-26 22:20:14 +0000 | [diff] [blame] | 45 | HFILE WINAPI LZInit(HFILE); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 46 | LONG WINAPI LZSeek(HFILE,LONG,INT); |
Steven Edwards | e426e9a | 2003-04-30 17:15:06 +0000 | [diff] [blame] | 47 | INT WINAPI GetExpandedNameA(LPSTR,LPSTR); |
| 48 | INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR); |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 49 | #define GetExpandedName WINELIB_NAME_AW(GetExpandedName) |
| 50 | |
Patrik Stridvall | 14da7b1 | 1999-06-12 10:53:06 +0000 | [diff] [blame] | 51 | #ifdef __cplusplus |
| 52 | } /* extern "C" */ |
| 53 | #endif /* defined(__cplusplus) */ |
| 54 | |
Alexandre Julliard | c6c0944 | 1997-01-12 18:32:19 +0000 | [diff] [blame] | 55 | #endif /* __WINE_LZEXPAND_H */ |