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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
18 | */
|
---|
19 |
|
---|
20 | /*
|
---|
21 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
22 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
23 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
24 | * a choice of LGPL license versions is made available with the language indicating
|
---|
25 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
26 | * of the LGPL is applied is otherwise unspecified.
|
---|
27 | */
|
---|
28 |
|
---|
29 | #ifndef __WINE_LZEXPAND_H
|
---|
30 | #define __WINE_LZEXPAND_H
|
---|
31 |
|
---|
32 | #ifdef __cplusplus
|
---|
33 | extern "C" {
|
---|
34 | #endif /* defined(__cplusplus) */
|
---|
35 |
|
---|
36 | #define LZERROR_BADINHANDLE -1 /* -1 */
|
---|
37 | #define LZERROR_BADOUTHANDLE -2 /* -2 */
|
---|
38 | #define LZERROR_READ -3 /* -3 */
|
---|
39 | #define LZERROR_WRITE -4 /* -4 */
|
---|
40 | #define LZERROR_GLOBALLOC -5 /* -5 */
|
---|
41 | #define LZERROR_GLOBLOCK -6 /* -6 */
|
---|
42 | #define LZERROR_BADVALUE -7 /* -7 */
|
---|
43 | #define LZERROR_UNKNOWNALG -8 /* -8 */
|
---|
44 |
|
---|
45 | VOID WINAPI LZDone(void);
|
---|
46 | LONG WINAPI CopyLZFile(HFILE,HFILE);
|
---|
47 | HFILE WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
|
---|
48 | HFILE WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
|
---|
49 | #define LZOpenFile WINELIB_NAME_AW(LZOpenFile)
|
---|
50 | INT WINAPI LZRead(INT,LPSTR,INT);
|
---|
51 | INT WINAPI LZStart(void);
|
---|
52 | void WINAPI LZClose(HFILE);
|
---|
53 | LONG WINAPI LZCopy(HFILE,HFILE);
|
---|
54 | HFILE WINAPI LZInit(HFILE);
|
---|
55 | LONG WINAPI LZSeek(HFILE,LONG,INT);
|
---|
56 | INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
|
---|
57 | INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
|
---|
58 | #define GetExpandedName WINELIB_NAME_AW(GetExpandedName)
|
---|
59 |
|
---|
60 | #ifdef __cplusplus
|
---|
61 | } /* extern "C" */
|
---|
62 | #endif /* defined(__cplusplus) */
|
---|
63 |
|
---|
64 | #endif /* __WINE_LZEXPAND_H */
|
---|