lzexpand.h 1.95 KB
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1 2 3
/* Includefile for the decompression library, lzexpand
 *
 * Copyright 1996 Marcus Meissner
4 5 6 7 8 9 10 11 12 13 14 15 16
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Alexandre Julliard's avatar
Alexandre Julliard committed
18 19
 */

Alexandre Julliard's avatar
Alexandre Julliard committed
20 21 22
#ifndef __WINE_LZEXPAND_H
#define __WINE_LZEXPAND_H

23 24 25 26
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */

Alexandre Julliard's avatar
Alexandre Julliard committed
27 28 29 30 31 32 33 34
#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
35

36
VOID        WINAPI LZDone(void);
37
LONG        WINAPI CopyLZFile(HFILE,HFILE);
38 39
HFILE       WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
HFILE       WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
40
#define     LZOpenFile WINELIB_NAME_AW(LZOpenFile)
41
INT         WINAPI LZRead(INT,LPSTR,INT);
42
INT         WINAPI LZStart(void);
43 44
void        WINAPI LZClose(HFILE);
LONG        WINAPI LZCopy(HFILE,HFILE);
45
HFILE       WINAPI LZInit(HFILE);
46
LONG        WINAPI LZSeek(HFILE,LONG,INT);
47 48
INT         WINAPI GetExpandedNameA(LPSTR,LPSTR);
INT         WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
49 50
#define     GetExpandedName WINELIB_NAME_AW(GetExpandedName)

51 52 53 54
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */

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