grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / diskimage / include / aros / defines / bz2.h
blob37566b4a6ba7c5f40cd6190b634f040b65e06abb
1 /* Automatically generated header (sfdc 1.4)! Do not edit! */
3 #ifndef _INLINE_BZ2_H
4 #define _INLINE_BZ2_H
6 #ifndef _SFDC_VARARG_DEFINED
7 #define _SFDC_VARARG_DEFINED
8 #ifdef __HAVE_IPTR_ATTR__
9 typedef APTR _sfdc_vararg __attribute__((iptr));
10 #else
11 typedef ULONG _sfdc_vararg;
12 #endif /* __HAVE_IPTR_ATTR__ */
13 #endif /* _SFDC_VARARG_DEFINED */
15 #ifndef AROS_LIBCALL_H
16 #include <aros/libcall.h>
17 #endif /* !AROS_LIBCALL_H */
19 #ifndef BZ2_BASE_NAME
20 #define BZ2_BASE_NAME BZ2Base
21 #endif /* !BZ2_BASE_NAME */
23 #define BZ2_bzlibVersion() \
24 AROS_LC0(const char *, BZ2_bzlibVersion, \
25 struct Library *, BZ2_BASE_NAME, 5, Bz2)
27 #define BZ2_bzCompressInit(___strm, ___blockSize100k, ___verbosity, ___workFactor) \
28 AROS_LC4(LONG, BZ2_bzCompressInit, \
29 AROS_LCA(bz_stream *, (___strm), A0), \
30 AROS_LCA(LONG, (___blockSize100k), D0), \
31 AROS_LCA(LONG, (___verbosity), D1), \
32 AROS_LCA(LONG, (___workFactor), D2), \
33 struct Library *, BZ2_BASE_NAME, 6, Bz2)
35 #define BZ2_bzCompress(___strm, ___action) \
36 AROS_LC2(LONG, BZ2_bzCompress, \
37 AROS_LCA(bz_stream *, (___strm), A0), \
38 AROS_LCA(LONG, (___action), D0), \
39 struct Library *, BZ2_BASE_NAME, 7, Bz2)
41 #define BZ2_bzCompressEnd(___strm) \
42 AROS_LC1(LONG, BZ2_bzCompressEnd, \
43 AROS_LCA(bz_stream *, (___strm), A0), \
44 struct Library *, BZ2_BASE_NAME, 8, Bz2)
46 #define BZ2_bzDecompressInit(___strm, ___verbosity, ___small) \
47 AROS_LC3(LONG, BZ2_bzDecompressInit, \
48 AROS_LCA(bz_stream *, (___strm), A0), \
49 AROS_LCA(LONG, (___verbosity), D0), \
50 AROS_LCA(LONG, (___small), D1), \
51 struct Library *, BZ2_BASE_NAME, 9, Bz2)
53 #define BZ2_bzDecompress(___strm) \
54 AROS_LC1(LONG, BZ2_bzDecompress, \
55 AROS_LCA(bz_stream *, (___strm), A0), \
56 struct Library *, BZ2_BASE_NAME, 10, Bz2)
58 #define BZ2_bzDecompressEnd(___strm) \
59 AROS_LC1(LONG, BZ2_bzDecompressEnd, \
60 AROS_LCA(bz_stream *, (___strm), A0), \
61 struct Library *, BZ2_BASE_NAME, 11, Bz2)
63 #define BZ2_bzBuffToBuffCompress(___dest, ___destLen, ___source, ___sourceLen, ___blockSize100k, ___verbosity, ___workFactor) \
64 AROS_LC7(LONG, BZ2_bzBuffToBuffCompress, \
65 AROS_LCA(APTR, (___dest), A0), \
66 AROS_LCA(ULONG *, (___destLen), A1), \
67 AROS_LCA(CONST_APTR, (___source), A2), \
68 AROS_LCA(ULONG, (___sourceLen), D0), \
69 AROS_LCA(LONG, (___blockSize100k), D1), \
70 AROS_LCA(LONG, (___verbosity), D2), \
71 AROS_LCA(LONG, (___workFactor), D3), \
72 struct Library *, BZ2_BASE_NAME, 12, Bz2)
74 #define BZ2_bzBuffToBuffDecompress(___dest, ___destLen, ___source, ___sourceLen, ___small, ___verbosity) \
75 AROS_LC6(LONG, BZ2_bzBuffToBuffDecompress, \
76 AROS_LCA(APTR, (___dest), A0), \
77 AROS_LCA(ULONG *, (___destLen), A1), \
78 AROS_LCA(CONST_APTR, (___source), A2), \
79 AROS_LCA(ULONG, (___sourceLen), D0), \
80 AROS_LCA(LONG, (___small), D1), \
81 AROS_LCA(LONG, (___verbosity), D2), \
82 struct Library *, BZ2_BASE_NAME, 13, Bz2)
84 #endif /* !_INLINE_BZ2_H */