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