| 1 | /* $Id: lz32.h,v 1.4 1999-08-17 16:58:34 sandervl 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
|
|---|
| 58 | VOID WIN32API LZDone(void);
|
|---|
| 59 | LONG WIN32API CopyLZFile(HFILE,HFILE);
|
|---|
| 60 | HFILE WIN32API LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
|
|---|
| 61 | HFILE WIN32API LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
|
|---|
| 62 | INT WIN32API LZRead(HFILE,LPVOID,UINT);
|
|---|
| 63 | INT WIN32API LZStart(void);
|
|---|
| 64 | void WIN32API LZClose(HFILE);
|
|---|
| 65 | LONG WIN32API LZCopy(HFILE,HFILE);
|
|---|
| 66 | HFILE WIN32API LZInit(HFILE);
|
|---|
| 67 | LONG WIN32API LZSeek(HFILE,LONG,INT);
|
|---|
| 68 | INT WIN32API GetExpandedNameA(LPCSTR,LPSTR);
|
|---|
| 69 | INT WIN32API GetExpandedNameW(LPCWSTR,LPWSTR);
|
|---|
| 70 |
|
|---|
| 71 | #ifdef __cplusplus
|
|---|
| 72 | } /* extern "C" */
|
|---|
| 73 | #endif /* defined(__cplusplus) */
|
|---|
| 74 |
|
|---|
| 75 | #endif /* __WINE_LZEXPAND_H */
|
|---|
| 76 |
|
|---|