Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / diskimage / include / amigaos / inline / xpkmaster_protos.h
blob97a4f60ad703556f28884269ed5355e64207b107
1 #ifndef _VBCCINLINE_XPKMASTER_H
2 #define _VBCCINLINE_XPKMASTER_H
4 #ifndef EXEC_TYPES_H
5 #include <exec/types.h>
6 #endif
8 LONG __XpkExamine(__reg("a6") struct Library *, __reg("a0") struct XpkFib * fib, __reg("a1") struct TagItem * tags)="\tjsr\t-36(a6)";
9 #define XpkExamine(fib, tags) __XpkExamine(XpkBase, (fib), (tags))
11 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
12 LONG __XpkExamineTags(__reg("a6") struct Library *, __reg("a0") struct XpkFib * fib, ULONG tags, ...)="\tmove.l\ta1,-(a7)\n\tlea\t4(a7),a1\n\tjsr\t-36(a6)\n\tmovea.l\t(a7)+,a1";
13 #define XpkExamineTags(fib, ...) __XpkExamineTags(XpkBase, (fib), __VA_ARGS__)
14 #endif
16 LONG __XpkPack(__reg("a6") struct Library *, __reg("a0") struct TagItem * tags)="\tjsr\t-42(a6)";
17 #define XpkPack(tags) __XpkPack(XpkBase, (tags))
19 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
20 LONG __XpkPackTags(__reg("a6") struct Library *, ULONG tags, ...)="\tmove.l\ta0,-(a7)\n\tlea\t4(a7),a0\n\tjsr\t-42(a6)\n\tmovea.l\t(a7)+,a0";
21 #define XpkPackTags(...) __XpkPackTags(XpkBase, __VA_ARGS__)
22 #endif
24 LONG __XpkUnpack(__reg("a6") struct Library *, __reg("a0") struct TagItem * tags)="\tjsr\t-48(a6)";
25 #define XpkUnpack(tags) __XpkUnpack(XpkBase, (tags))
27 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
28 LONG __XpkUnpackTags(__reg("a6") struct Library *, ULONG tags, ...)="\tmove.l\ta0,-(a7)\n\tlea\t4(a7),a0\n\tjsr\t-48(a6)\n\tmovea.l\t(a7)+,a0";
29 #define XpkUnpackTags(...) __XpkUnpackTags(XpkBase, __VA_ARGS__)
30 #endif
32 LONG __XpkOpen(__reg("a6") struct Library *, __reg("a0") struct XpkFib ** xbuf, __reg("a1") struct TagItem * tags)="\tjsr\t-54(a6)";
33 #define XpkOpen(xbuf, tags) __XpkOpen(XpkBase, (xbuf), (tags))
35 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
36 LONG __XpkOpenTags(__reg("a6") struct Library *, __reg("a0") struct XpkFib ** xbuf, ULONG tags, ...)="\tmove.l\ta1,-(a7)\n\tlea\t4(a7),a1\n\tjsr\t-54(a6)\n\tmovea.l\t(a7)+,a1";
37 #define XpkOpenTags(xbuf, ...) __XpkOpenTags(XpkBase, (xbuf), __VA_ARGS__)
38 #endif
40 LONG __XpkRead(__reg("a6") struct Library *, __reg("a0") struct XpkFib * xbuf, __reg("a1") STRPTR buf, __reg("d0") ULONG len)="\tjsr\t-60(a6)";
41 #define XpkRead(xbuf, buf, len) __XpkRead(XpkBase, (xbuf), (buf), (len))
43 LONG __XpkWrite(__reg("a6") struct Library *, __reg("a0") struct XpkFib * xbuf, __reg("a1") STRPTR buf, __reg("d0") LONG len)="\tjsr\t-66(a6)";
44 #define XpkWrite(xbuf, buf, len) __XpkWrite(XpkBase, (xbuf), (buf), (len))
46 LONG __XpkSeek(__reg("a6") struct Library *, __reg("a0") struct XpkFib * xbuf, __reg("d0") LONG len, __reg("d1") LONG mode)="\tjsr\t-72(a6)";
47 #define XpkSeek(xbuf, len, mode) __XpkSeek(XpkBase, (xbuf), (len), (mode))
49 LONG __XpkClose(__reg("a6") struct Library *, __reg("a0") struct XpkFib * xbuf)="\tjsr\t-78(a6)";
50 #define XpkClose(xbuf) __XpkClose(XpkBase, (xbuf))
52 LONG __XpkQuery(__reg("a6") struct Library *, __reg("a0") struct TagItem * tags)="\tjsr\t-84(a6)";
53 #define XpkQuery(tags) __XpkQuery(XpkBase, (tags))
55 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
56 LONG __XpkQueryTags(__reg("a6") struct Library *, ULONG tags, ...)="\tmove.l\ta0,-(a7)\n\tlea\t4(a7),a0\n\tjsr\t-84(a6)\n\tmovea.l\t(a7)+,a0";
57 #define XpkQueryTags(...) __XpkQueryTags(XpkBase, __VA_ARGS__)
58 #endif
60 APTR __XpkAllocObject(__reg("a6") struct Library *, __reg("d0") ULONG type, __reg("a0") struct TagItem * tags)="\tjsr\t-90(a6)";
61 #define XpkAllocObject(type, tags) __XpkAllocObject(XpkBase, (type), (tags))
63 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
64 APTR __XpkAllocObjectTags(__reg("a6") struct Library *, __reg("d0") ULONG type, ULONG tags, ...)="\tmove.l\ta0,-(a7)\n\tlea\t4(a7),a0\n\tjsr\t-90(a6)\n\tmovea.l\t(a7)+,a0";
65 #define XpkAllocObjectTags(type, ...) __XpkAllocObjectTags(XpkBase, (type), __VA_ARGS__)
66 #endif
68 void __XpkFreeObject(__reg("a6") struct Library *, __reg("d0") ULONG type, __reg("a0") APTR object)="\tjsr\t-96(a6)";
69 #define XpkFreeObject(type, object) __XpkFreeObject(XpkBase, (type), (object))
71 BOOL __XpkPrintFault(__reg("a6") struct Library *, __reg("d0") LONG code, __reg("a0") STRPTR header)="\tjsr\t-102(a6)";
72 #define XpkPrintFault(code, header) __XpkPrintFault(XpkBase, (code), (header))
74 ULONG __XpkFault(__reg("a6") struct Library *, __reg("d0") LONG code, __reg("a0") STRPTR header, __reg("a1") STRPTR buffer, __reg("d1") ULONG size)="\tjsr\t-108(a6)";
75 #define XpkFault(code, header, buffer, size) __XpkFault(XpkBase, (code), (header), (buffer), (size))
77 LONG __XpkPassRequest(__reg("a6") struct Library *, __reg("a0") struct TagItem * tags)="\tjsr\t-114(a6)";
78 #define XpkPassRequest(tags) __XpkPassRequest(XpkBase, (tags))
80 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
81 LONG __XpkPassRequestTags(__reg("a6") struct Library *, ULONG tags, ...)="\tmove.l\ta0,-(a7)\n\tlea\t4(a7),a0\n\tjsr\t-114(a6)\n\tmovea.l\t(a7)+,a0";
82 #define XpkPassRequestTags(...) __XpkPassRequestTags(XpkBase, __VA_ARGS__)
83 #endif
85 #endif /* _VBCCINLINE_XPKMASTER_H */