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

Last change on this file since 478 was 474, checked in by phaller, 26 years ago

Fix: Applied FS wrappers

File size: 2.3 KB
Line 
1/* $Id: lz32.h,v 1.2 1999-08-11 12:49:22 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
57// external interface
58VOID WINAPI ODIN_LZDone(void);
59LONG WINAPI ODIN_CopyLZFile(HFILE,HFILE);
60HFILE WINAPI ODIN_LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
61HFILE WINAPI ODIN_LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
62INT WINAPI ODIN_LZRead(HFILE,LPVOID,UINT);
63INT WINAPI ODIN_LZStart(void);
64void WINAPI ODIN_LZClose(HFILE);
65LONG WINAPI ODIN_LZCopy(HFILE,HFILE);
66HFILE WINAPI ODIN_LZInit(HFILE);
67LONG WINAPI ODIN_LZSeek(HFILE,LONG,INT);
68INT WINAPI ODIN_GetExpandedNameA(LPCSTR,LPSTR);
69INT WINAPI ODIN_GetExpandedNameW(LPCWSTR,LPWSTR);
70
71
72#ifdef __cplusplus
73 } /* extern "C" */
74#endif /* defined(__cplusplus) */
75
76#endif /* __WINE_LZEXPAND_H */
77
Note: See TracBrowser for help on using the repository browser.