Install binutils-2.19.1-mingw32-bin.tar.gz
[msysgit.git] / mingw / include / lzexpand.h
blob68d4807a85f65855f74a8ed3097116af01c98f07
1 #ifndef _LZEXPAND_H
2 #define _LZEXPAND_H
3 #if __GNUC__ >=3
4 #pragma GCC system_header
5 #endif
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 #define LZERROR_BADINHANDLE (-1)
11 #define LZERROR_BADOUTHANDLE (-2)
12 #define LZERROR_READ (-3)
13 #define LZERROR_WRITE (-4)
14 #define LZERROR_GLOBALLOC (-5)
15 #define LZERROR_GLOBLOCK (-6)
16 #define LZERROR_BADVALUE (-7)
17 #define LZERROR_UNKNOWNALG (-8)
18 LONG WINAPI CopyLZFile(INT,INT);
19 INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
20 INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
21 VOID APIENTRY LZClose(INT);
22 LONG APIENTRY LZCopy(INT,INT);
23 VOID WINAPI LZDone(VOID);
24 INT WINAPI LZInit(INT);
25 INT WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
26 INT WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
27 INT WINAPI LZRead(INT,LPSTR,INT);
28 LONG WINAPI LZSeek(INT,LONG,INT);
29 INT WINAPI LZStart(VOID);
30 #ifdef UNICODE
31 #define GetExpandedName GetExpandedNameW
32 #define LZOpenFile LZOpenFileW
33 #else
34 #define GetExpandedName GetExpandedNameA
35 #define LZOpenFile LZOpenFileA
36 #endif
37 #ifdef __cplusplus
39 #endif
40 #endif