source: trunk/src/lz32/lz32.h@ 469

Last change on this file since 469 was 468, checked in by phaller, 26 years ago

Add: LZ32 support fixed

File size: 2.3 KB
Line 
1/* $Id: lz32.h,v 1.1 1999-08-10 12:37:33 phaller Exp $ */
2
3/*
4 * Project Odin Software License can be found in LICENSE.TXT
5 *
6 * Includefile for the decompression library, lzexpand
7 *
8 * Copyright 1996 Marcus Meissner
9 * Copyright 1999 Patrick Haller
10 */
11
12#ifndef __WINE_LZEXPAND_H
13#define __WINE_LZEXPAND_H
14
15#include "windef.h"
16
17#ifdef __cplusplus
18 extern "C" {
19#endif /* defined(__cplusplus) */
20
21
22/****************************************************************************
23 * Defines *
24 ****************************************************************************/
25
26#define LZERROR_BADINHANDLE -1 /* -1 */
27#define LZERROR_BADOUTHANDLE -2 /* -2 */
28#define LZERROR_READ -3 /* -3 */
29#define LZERROR_WRITE -4 /* -4 */
30#define LZERROR_GLOBALLOC -5 /* -5 */
31#define LZERROR_GLOBLOCK -6 /* -6 */
32#define LZERROR_BADVALUE -7 /* -7 */
33#define LZERROR_UNKNOWNALG -8 /* -8 */
34
35
36/****************************************************************************
37 * Conditional Defines *
38 ****************************************************************************/
39
40#ifndef SEEK_SET
41#define SEEK_SET 0
42#endif
43
44#ifndef SEEK_CUR
45#define SEEK_CUR 1
46#endif
47
48#ifndef SEEK_END
49#define SEEK_END 2
50#endif
51
52
53/****************************************************************************
54 * Prototypes *
55 ****************************************************************************/
56
57VOID WINAPI LZDone(void);
58LONG WINAPI CopyLZFile(HFILE,HFILE);
59HFILE WINAPI LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
60HFILE WINAPI LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
61INT WINAPI LZRead(HFILE,LPVOID,UINT);
62INT WINAPI LZStart(void);
63void WINAPI LZClose(HFILE);
64LONG WINAPI LZCopy(HFILE,HFILE);
65HFILE WINAPI LZInit(HFILE);
66LONG WINAPI LZSeek(HFILE,LONG,INT);
67INT WINAPI GetExpandedNameA(LPCSTR,LPSTR);
68INT WINAPI GetExpandedNameW(LPCWSTR,LPWSTR);
69
70
71#ifdef __cplusplus
72 } /* extern "C" */
73#endif /* defined(__cplusplus) */
74
75#endif /* __WINE_LZEXPAND_H */
76
Note: See TracBrowser for help on using the repository browser.