lzexpand.h 1.3 KB
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1 2 3
/* Includefile for the decompression library, lzexpand
 *
 * Copyright 1996 Marcus Meissner
4
 * FIXME: Who's copyright are the prototypes?
Alexandre Julliard's avatar
Alexandre Julliard committed
5 6
 */

Alexandre Julliard's avatar
Alexandre Julliard committed
7 8 9
#ifndef __WINE_LZEXPAND_H
#define __WINE_LZEXPAND_H

10
#include "windef.h"
11

12 13 14 15
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */

Alexandre Julliard's avatar
Alexandre Julliard committed
16 17 18 19 20 21 22 23
#define LZERROR_BADINHANDLE	-1	/* -1 */
#define LZERROR_BADOUTHANDLE	-2	/* -2 */
#define LZERROR_READ		-3	/* -3 */
#define LZERROR_WRITE		-4	/* -4 */
#define LZERROR_GLOBALLOC	-5	/* -5 */
#define LZERROR_GLOBLOCK	-6	/* -6 */
#define LZERROR_BADVALUE	-7	/* -7 */
#define LZERROR_UNKNOWNALG	-8	/* -8 */
Alexandre Julliard's avatar
Alexandre Julliard committed
24

25
VOID        WINAPI LZDone(void);
26
LONG        WINAPI CopyLZFile(HFILE,HFILE);
27 28
HFILE       WINAPI LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
HFILE       WINAPI LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
29
#define     LZOpenFile WINELIB_NAME_AW(LZOpenFile)
30 31
INT         WINAPI LZRead(HFILE,LPVOID,UINT);
INT         WINAPI LZStart(void);
32 33
void        WINAPI LZClose(HFILE);
LONG        WINAPI LZCopy(HFILE,HFILE);
34
HFILE       WINAPI LZInit(HFILE);
35
LONG        WINAPI LZSeek(HFILE,LONG,INT);
36 37
INT         WINAPI GetExpandedNameA(LPCSTR,LPSTR);
INT         WINAPI GetExpandedNameW(LPCWSTR,LPWSTR);
38 39
#define     GetExpandedName WINELIB_NAME_AW(GetExpandedName)

40 41 42 43
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */

Alexandre Julliard's avatar
Alexandre Julliard committed
44
#endif  /* __WINE_LZEXPAND_H */