1 #ifndef _VBCCINLINE_Z_H
2 #define _VBCCINLINE_Z_H
5 #include <exec/types.h>
8 const char * __ZlibVersion(__reg("a6") struct Library
*)="\tjsr\t-30(a6)";
9 #define ZlibVersion() __ZlibVersion(ZBase)
11 LONG
__DeflateInit(__reg("a6") struct Library
*, __reg("a0") void * strm
, __reg("d0") LONG level
)="\tjsr\t-36(a6)";
12 #define DeflateInit(strm, level) __DeflateInit(ZBase, (void *)(strm), (level))
14 LONG
__Deflate(__reg("a6") struct Library
*, __reg("a0") void * strm
, __reg("d0") LONG flush
)="\tjsr\t-42(a6)";
15 #define Deflate(strm, flush) __Deflate(ZBase, (void *)(strm), (flush))
17 LONG
__DeflateEnd(__reg("a6") struct Library
*, __reg("a0") void * strm
)="\tjsr\t-48(a6)";
18 #define DeflateEnd(strm) __DeflateEnd(ZBase, (void *)(strm))
20 LONG
__InflateInit(__reg("a6") struct Library
*, __reg("a0") void * strm
)="\tjsr\t-54(a6)";
21 #define InflateInit(strm) __InflateInit(ZBase, (void *)(strm))
23 LONG
__Inflate(__reg("a6") struct Library
*, __reg("a0") void * strm
, __reg("d0") LONG flush
)="\tjsr\t-60(a6)";
24 #define Inflate(strm, flush) __Inflate(ZBase, (void *)(strm), (flush))
26 LONG
__InflateEnd(__reg("a6") struct Library
*, __reg("a0") void * strm
)="\tjsr\t-66(a6)";
27 #define InflateEnd(strm) __InflateEnd(ZBase, (void *)(strm))
29 LONG
__DeflateInit2(__reg("a6") struct Library
*, __reg("a0") void * strm
, __reg("d0") LONG level
, __reg("d1") LONG method
, __reg("d2") LONG windowBits
, __reg("d3") LONG memLevel
, __reg("d4") LONG strategy
)="\tjsr\t-72(a6)";
30 #define DeflateInit2(strm, level, method, windowBits, memLevel, strategy) __DeflateInit2(ZBase, (void *)(strm), (level), (method), (windowBits), (memLevel), (strategy))
32 LONG
__DeflateSetDictionary(__reg("a6") struct Library
*, __reg("a0") void * strm
, __reg("a1") void * dictionary
, __reg("d0") ULONG dictLength
)="\tjsr\t-78(a6)";
33 #define DeflateSetDictionary(strm, dictionary, dictLength) __DeflateSetDictionary(ZBase, (void *)(strm), (void *)(dictionary), (dictLength))
35 LONG
__DeflateCopy(__reg("a6") struct Library
*, __reg("a0") void * dest
, __reg("a1") void * source
)="\tjsr\t-84(a6)";
36 #define DeflateCopy(dest, source) __DeflateCopy(ZBase, (void *)(dest), (void *)(source))
38 LONG
__DeflateReset(__reg("a6") struct Library
*, __reg("a0") void * strm
)="\tjsr\t-90(a6)";
39 #define DeflateReset(strm) __DeflateReset(ZBase, (void *)(strm))
41 LONG
__DeflateParams(__reg("a6") struct Library
*, __reg("a0") void * strm
, __reg("d0") LONG level
, __reg("d1") LONG strategy
)="\tjsr\t-96(a6)";
42 #define DeflateParams(strm, level, strategy) __DeflateParams(ZBase, (void *)(strm), (level), (strategy))
44 LONG
__InflateInit2(__reg("a6") struct Library
*, __reg("a0") void * strm
, __reg("d0") LONG windowBits
)="\tjsr\t-102(a6)";
45 #define InflateInit2(strm, windowBits) __InflateInit2(ZBase, (void *)(strm), (windowBits))
47 LONG
__InflateSetDictionary(__reg("a6") struct Library
*, __reg("a0") void * strm
, __reg("a1") void * dictionary
, __reg("d0") ULONG dictLength
)="\tjsr\t-108(a6)";
48 #define InflateSetDictionary(strm, dictionary, dictLength) __InflateSetDictionary(ZBase, (void *)(strm), (void *)(dictionary), (dictLength))
50 LONG
__InflateReset(__reg("a6") struct Library
*, __reg("a0") void * strm
)="\tjsr\t-114(a6)";
51 #define InflateReset(strm) __InflateReset(ZBase, (void *)(strm))
53 LONG
__Compress(__reg("a6") struct Library
*, __reg("a0") APTR dest
, __reg("a1") ULONG
* destLen
, __reg("a2") void * source
, __reg("d0") ULONG sourceLen
)="\tjsr\t-120(a6)";
54 #define Compress(dest, destLen, source, sourceLen) __Compress(ZBase, (dest), (destLen), (void *)(source), (sourceLen))
56 LONG
__Uncompress(__reg("a6") struct Library
*, __reg("a0") APTR dest
, __reg("a1") ULONG
* destLen
, __reg("a2") void * source
, __reg("d0") ULONG sourceLen
)="\tjsr\t-126(a6)";
57 #define Uncompress(dest, destLen, source, sourceLen) __Uncompress(ZBase, (dest), (destLen), (void *)(source), (sourceLen))
59 ULONG
__Adler32(__reg("a6") struct Library
*, __reg("d0") ULONG adler
, __reg("a0") void * buf
, __reg("d1") ULONG len
)="\tjsr\t-132(a6)";
60 #define Adler32(adler, buf, len) __Adler32(ZBase, (adler), (void *)(buf), (len))
62 ULONG
__CRC32(__reg("a6") struct Library
*, __reg("d0") ULONG crc
, __reg("a0") void * buf
, __reg("d1") ULONG len
)="\tjsr\t-138(a6)";
63 #define CRC32(crc, buf, len) __CRC32(ZBase, (crc), (void *)(buf), (len))
65 LONG
__InflateSync(__reg("a6") struct Library
*, __reg("a0") void * strm
)="\tjsr\t-144(a6)";
66 #define InflateSync(strm) __InflateSync(ZBase, (void *)(strm))
68 #endif /* _VBCCINLINE_Z_H */