Work around problems on Solaris if config.h is not included.
[wine] / include / lzexpand.h
1 /* Includefile for the decompression library, lzexpand
2  *
3  * Copyright 1996 Marcus Meissner
4  * FIXME: Who's copyright are the prototypes?
5  */
6
7 #ifndef __WINE_LZEXPAND_H
8 #define __WINE_LZEXPAND_H
9
10 #include "windef.h"
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif /* defined(__cplusplus) */
15
16 #define LZERROR_BADINHANDLE     -1      /* -1 */
17 #define LZERROR_BADOUTHANDLE    -2      /* -2 */
18 #define LZERROR_READ            -3      /* -3 */
19 #define LZERROR_WRITE           -4      /* -4 */
20 #define LZERROR_GLOBALLOC       -5      /* -5 */
21 #define LZERROR_GLOBLOCK        -6      /* -6 */
22 #define LZERROR_BADVALUE        -7      /* -7 */
23 #define LZERROR_UNKNOWNALG      -8      /* -8 */
24
25 VOID        WINAPI LZDone(void);
26 LONG        WINAPI CopyLZFile(HFILE,HFILE);
27 HFILE       WINAPI LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
28 HFILE       WINAPI LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
29 #define     LZOpenFile WINELIB_NAME_AW(LZOpenFile)
30 INT         WINAPI LZRead(HFILE,LPVOID,UINT);
31 INT         WINAPI LZStart(void);
32 void        WINAPI LZClose(HFILE);
33 LONG        WINAPI LZCopy(HFILE,HFILE);
34 HFILE       WINAPI LZInit(HFILE);
35 LONG        WINAPI LZSeek(HFILE,LONG,INT);
36 INT         WINAPI GetExpandedNameA(LPCSTR,LPSTR);
37 INT         WINAPI GetExpandedNameW(LPCWSTR,LPWSTR);
38 #define     GetExpandedName WINELIB_NAME_AW(GetExpandedName)
39
40 #ifdef __cplusplus
41 } /* extern "C" */
42 #endif /* defined(__cplusplus) */
43
44 #endif  /* __WINE_LZEXPAND_H */