Merging diskimagedevice 52.78 into the main branch.
[AROS.git] / workbench / devs / diskimage / include / amigaos / clib / z_protos.h
blob0a5ba4fd4b3e898109e8916a9ced0238f22faba2
1 #ifndef CLIB_Z_PROTOS_H
2 #define CLIB_Z_PROTOS_H
5 /*
6 ** $VER: z_protos.h 1.0 (28.05.2012)
7 **
8 ** C prototypes. For use with 32 bit integers only.
9 **
10 ** Copyright © 2012
11 ** All Rights Reserved
14 #ifndef EXEC_TYPES_H
15 #include <exec/types.h>
16 #endif
18 const char * ZlibVersion(void);
19 LONG DeflateInit(LONG strm, LONG level);
20 LONG Deflate(LONG strm, LONG flush);
21 LONG DeflateEnd(LONG strm);
22 LONG InflateInit(LONG strm);
23 LONG Inflate(LONG strm, LONG flush);
24 LONG InflateEnd(LONG strm);
25 LONG DeflateInit2(LONG strm, LONG level, LONG method, LONG windowBits, LONG memLevel,
26 LONG strategy);
27 LONG DeflateSetDictionary(LONG strm, LONG dictionary, ULONG dictLength);
28 LONG DeflateCopy(LONG dest, LONG source);
29 LONG DeflateReset(LONG strm);
30 LONG DeflateParams(LONG strm, LONG level, LONG strategy);
31 LONG InflateInit2(LONG strm, LONG windowBits);
32 LONG InflateSetDictionary(LONG strm, LONG dictionary, ULONG dictLength);
33 LONG InflateReset(LONG strm);
34 LONG Compress(APTR dest, ULONG * destLen, LONG source, ULONG sourceLen);
35 LONG Uncompress(APTR dest, ULONG * destLen, LONG source, ULONG sourceLen);
36 ULONG Adler32(ULONG adler, LONG buf, ULONG len);
37 ULONG CRC32(ULONG crc, LONG buf, ULONG len);
38 LONG InflateSync(LONG strm);
40 #endif /* CLIB_Z_PROTOS_H */