3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/* Includefile for the decompression library, lzexpand
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright 1996 Marcus Meissner
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is free software; you can redistribute it and/or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * modify it under the terms of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License as published by the Free Software Foundation; either
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * version 2.1 of the License, or (at your option) any later version.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is distributed in the hope that it will be useful,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Lesser General Public License for more details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You should have received a copy of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License along with this library; if not, write to the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync/*
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a choice of LGPL license versions is made available with the language indicating
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the LGPL is applied is otherwise unspecified.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync */
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifndef __WINE_LZEXPAND_H
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define __WINE_LZEXPAND_H
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifdef __cplusplus
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern "C" {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* defined(__cplusplus) */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LZERROR_BADINHANDLE -1 /* -1 */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LZERROR_BADOUTHANDLE -2 /* -2 */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LZERROR_READ -3 /* -3 */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LZERROR_WRITE -4 /* -4 */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LZERROR_GLOBALLOC -5 /* -5 */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LZERROR_GLOBLOCK -6 /* -6 */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LZERROR_BADVALUE -7 /* -7 */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LZERROR_UNKNOWNALG -8 /* -8 */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncVOID WINAPI LZDone(void);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncLONG WINAPI CopyLZFile(HFILE,HFILE);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncHFILE WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncHFILE WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LZOpenFile WINELIB_NAME_AW(LZOpenFile)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncINT WINAPI LZRead(INT,LPSTR,INT);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncINT WINAPI LZStart(void);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncvoid WINAPI LZClose(HFILE);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncLONG WINAPI LZCopy(HFILE,HFILE);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncHFILE WINAPI LZInit(HFILE);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncLONG WINAPI LZSeek(HFILE,LONG,INT);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncINT WINAPI GetExpandedNameA(LPSTR,LPSTR);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncINT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define GetExpandedName WINELIB_NAME_AW(GetExpandedName)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifdef __cplusplus
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} /* extern "C" */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* defined(__cplusplus) */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* __WINE_LZEXPAND_H */