Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / diskimage / include / amigaos / clib / xpkmaster_protos.h
blob812cb517419751227b53dc773a5a68b0cec71731
1 #ifndef CLIB_XPKMASTER_PROTOS_H
2 #define CLIB_XPKMASTER_PROTOS_H
5 /*
6 ** $VER: xpkmaster_protos.h 1.0 (30.03.2010)
7 **
8 ** C prototypes. For use with 32 bit integers only.
9 **
10 ** Copyright © 2010
11 ** All Rights Reserved
14 #ifndef EXEC_TYPES_H
15 #include <exec/types.h>
16 #endif
17 #ifndef XPK_XPK_H
18 #include <xpk/xpk.h>
19 #endif
21 LONG XpkExamine(struct XpkFib * fib, struct TagItem * tags);
22 LONG XpkExamineTags(struct XpkFib * fib, ULONG tags, ...);
23 LONG XpkPack(struct TagItem * tags);
24 LONG XpkPackTags(ULONG tags, ...);
25 LONG XpkUnpack(struct TagItem * tags);
26 LONG XpkUnpackTags(ULONG tags, ...);
27 LONG XpkOpen(struct XpkFib ** xbuf, struct TagItem * tags);
28 LONG XpkOpenTags(struct XpkFib ** xbuf, ULONG tags, ...);
29 LONG XpkRead(struct XpkFib * xbuf, STRPTR buf, ULONG len);
30 LONG XpkWrite(struct XpkFib * xbuf, STRPTR buf, LONG len);
31 LONG XpkSeek(struct XpkFib * xbuf, LONG len, LONG mode);
32 LONG XpkClose(struct XpkFib * xbuf);
33 LONG XpkQuery(struct TagItem * tags);
34 LONG XpkQueryTags(ULONG tags, ...);
35 APTR XpkAllocObject(ULONG type, struct TagItem * tags);
36 APTR XpkAllocObjectTags(ULONG type, ULONG tags, ...);
37 void XpkFreeObject(ULONG type, APTR object);
38 BOOL XpkPrintFault(LONG code, STRPTR header);
39 ULONG XpkFault(LONG code, STRPTR header, STRPTR buffer, ULONG size);
40 LONG XpkPassRequest(struct TagItem * tags);
41 LONG XpkPassRequestTags(ULONG tags, ...);
43 #endif /* CLIB_XPKMASTER_PROTOS_H */