1 /* Includefile for the decompression library, lzexpand
3 * Copyright 1996 Marcus Meissner
4 * FIXME: Who's copyright are the prototypes?
7 #ifndef __WINE_LZEXPAND_H
8 #define __WINE_LZEXPAND_H
12 #define LZERROR_BADINHANDLE -1 /* -1 */
13 #define LZERROR_BADOUTHANDLE -2 /* -2 */
14 #define LZERROR_READ -3 /* -3 */
15 #define LZERROR_WRITE -4 /* -4 */
16 #define LZERROR_GLOBALLOC -5 /* -5 */
17 #define LZERROR_GLOBLOCK -6 /* -6 */
18 #define LZERROR_BADVALUE -7 /* -7 */
19 #define LZERROR_UNKNOWNALG -8 /* -8 */
21 VOID WINAPI
LZDone(void);
22 LONG WINAPI
CopyLZFile16(HFILE16
,HFILE16
);
23 LONG WINAPI
CopyLZFile(HFILE
,HFILE
);
24 HFILE16 WINAPI
LZOpenFile16(LPCSTR
,LPOFSTRUCT
,UINT16
);
25 HFILE WINAPI
LZOpenFileA(LPCSTR
,LPOFSTRUCT
,UINT
);
26 HFILE WINAPI
LZOpenFileW(LPCWSTR
,LPOFSTRUCT
,UINT
);
27 #define LZOpenFile WINELIB_NAME_AW(LZOpenFile)
28 INT16 WINAPI
LZRead16(HFILE16
,LPVOID
,UINT16
);
29 INT WINAPI
LZRead(HFILE
,LPVOID
,UINT
);
30 INT16 WINAPI
LZStart16(void);
31 INT WINAPI
LZStart(void);
32 void WINAPI
LZClose16(HFILE16
);
33 void WINAPI
LZClose(HFILE
);
34 LONG WINAPI
LZCopy16(HFILE16
,HFILE16
);
35 LONG WINAPI
LZCopy(HFILE
,HFILE
);
36 HFILE16 WINAPI
LZInit16(HFILE16
);
37 HFILE WINAPI
LZInit(HFILE
);
38 LONG WINAPI
LZSeek16(HFILE16
,LONG
,INT16
);
39 LONG WINAPI
LZSeek(HFILE
,LONG
,INT
);
40 INT16 WINAPI
GetExpandedName16(LPCSTR
,LPSTR
);
41 INT WINAPI
GetExpandedNameA(LPCSTR
,LPSTR
);
42 INT WINAPI
GetExpandedNameW(LPCWSTR
,LPWSTR
);
43 #define GetExpandedName WINELIB_NAME_AW(GetExpandedName)
45 #endif /* __WINE_LZEXPAND_H */