1 #ifndef CLIB_Z_PROTOS_H
2 #define CLIB_Z_PROTOS_H
6 ** $VER: z_protos.h 1.0 (28.05.2012)
8 ** C prototypes. For use with 32 bit integers only.
11 ** All Rights Reserved
15 #include <exec/types.h>
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
,
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 */