1 /* Includefile for the decompression library, lzexpand
3 * Copyright 1996 Marcus Meissner
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.
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.
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
20 #ifndef __WINE_LZEXPAND_H
21 #define __WINE_LZEXPAND_H
27 #endif /* defined(__cplusplus) */
29 #define LZERROR_BADINHANDLE -1 /* -1 */
30 #define LZERROR_BADOUTHANDLE -2 /* -2 */
31 #define LZERROR_READ -3 /* -3 */
32 #define LZERROR_WRITE -4 /* -4 */
33 #define LZERROR_GLOBALLOC -5 /* -5 */
34 #define LZERROR_GLOBLOCK -6 /* -6 */
35 #define LZERROR_BADVALUE -7 /* -7 */
36 #define LZERROR_UNKNOWNALG -8 /* -8 */
38 VOID WINAPI
LZDone(void);
39 LONG WINAPI
CopyLZFile(HFILE
,HFILE
);
40 HFILE WINAPI
LZOpenFileA(LPSTR
,LPOFSTRUCT
,WORD
);
41 HFILE WINAPI
LZOpenFileW(LPWSTR
,LPOFSTRUCT
,WORD
);
42 #define LZOpenFile WINELIB_NAME_AW(LZOpenFile)
43 INT WINAPI
LZRead(INT
,LPSTR
,INT
);
44 INT WINAPI
LZStart(void);
45 void WINAPI
LZClose(HFILE
);
46 LONG WINAPI
LZCopy(HFILE
,HFILE
);
47 HFILE WINAPI
LZInit(HFILE
);
48 LONG WINAPI
LZSeek(HFILE
,LONG
,INT
);
49 INT WINAPI
GetExpandedNameA(LPSTR
,LPSTR
);
50 INT WINAPI
GetExpandedNameW(LPWSTR
,LPWSTR
);
51 #define GetExpandedName WINELIB_NAME_AW(GetExpandedName)
55 #endif /* defined(__cplusplus) */
57 #endif /* __WINE_LZEXPAND_H */