revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / diskimage / include / amigaos / clib / xadmaster_protos.h
blob841a6c256e31084ce8725b8aa89445cf9764f947
1 #ifndef CLIB_XADMASTER_PROTOS_H
2 #define CLIB_XADMASTER_PROTOS_H
5 /*
6 ** $VER: xadmaster_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 UTILITY_TAGITEM_H
18 #include <utility/tagitem.h>
19 #endif
20 #ifndef LIBRARIES_XADMASTER_H
21 #include <libraries/xadmaster.h>
22 #endif
24 APTR xadAllocObjectA(LONG type, const struct TagItem * tags);
25 APTR xadAllocObject(LONG type, Tag tags, ...);
26 void xadFreeObjectA(APTR object, const struct TagItem * tags);
27 void xadFreeObject(APTR object, Tag tags, ...);
28 struct xadClient * xadRecogFileA(ULONG size, APTR memory, const struct TagItem * tags);
29 struct xadClient * xadRecogFile(ULONG size, APTR memory, Tag tags, ...);
30 LONG xadGetInfoA(struct xadArchiveInfo * ai, const struct TagItem * tags);
31 LONG xadGetInfo(struct xadArchiveInfo * ai, Tag tags, ...);
32 void xadFreeInfo(struct xadArchiveInfo * ai);
33 LONG xadFileUnArcA(struct xadArchiveInfo * ai, const struct TagItem * tags);
34 LONG xadFileUnArc(struct xadArchiveInfo * ai, Tag tags, ...);
35 LONG xadDiskUnArcA(struct xadArchiveInfo * ai, const struct TagItem * tags);
36 LONG xadDiskUnArc(struct xadArchiveInfo * ai, Tag tags, ...);
37 STRPTR xadGetErrorText(ULONG errnum);
38 struct xadClient * xadGetClientInfo(void);
39 LONG xadHookAccess(ULONG command, LONG data, APTR buffer, struct xadArchiveInfo * ai);
40 LONG xadConvertDatesA(const struct TagItem * tags);
41 LONG xadConvertDates(Tag tags, ...);
42 UWORD xadCalcCRC16(ULONG id, ULONG init, ULONG size, STRPTR buffer);
43 ULONG xadCalcCRC32(ULONG id, ULONG init, ULONG size, STRPTR buffer);
44 APTR xadAllocVec(ULONG size, ULONG flags);
45 void xadCopyMem(const void * src, APTR dest, ULONG size);
46 LONG xadHookTagAccessA(ULONG command, LONG data, APTR buffer, struct xadArchiveInfo * ai,
47 const struct TagItem * tags);
48 LONG xadHookTagAccess(ULONG command, LONG data, APTR buffer, struct xadArchiveInfo * ai,
49 Tag tags, ...);
50 LONG xadConvertProtectionA(const struct TagItem * tags);
51 LONG xadConvertProtection(Tag tags, ...);
52 LONG xadGetDiskInfoA(struct xadArchiveInfo * ai, const struct TagItem * tags);
53 LONG xadGetDiskInfo(struct xadArchiveInfo * ai, Tag tags, ...);
54 LONG xadDiskFileUnArcA(struct xadArchiveInfo * ai, const struct TagItem * tags);
55 LONG xadDiskFileUnArc(struct xadArchiveInfo * ai, Tag tags, ...);
56 LONG xadGetHookAccessA(struct xadArchiveInfo * ai, const struct TagItem * tags);
57 LONG xadGetHookAccess(struct xadArchiveInfo * ai, Tag tags, ...);
58 LONG xadFreeHookAccessA(struct xadArchiveInfo * ai, const struct TagItem * tags);
59 LONG xadFreeHookAccess(struct xadArchiveInfo * ai, Tag tags, ...);
60 LONG xadAddFileEntryA(struct xadFileInfo * fi, struct xadArchiveInfo * ai,
61 const struct TagItem * tags);
62 LONG xadAddFileEntry(struct xadFileInfo * fi, struct xadArchiveInfo * ai, Tag tags, ...);
63 LONG xadAddDiskEntryA(struct xadDiskInfo * di, struct xadArchiveInfo * ai,
64 const struct TagItem * tags);
65 LONG xadAddDiskEntry(struct xadDiskInfo * di, struct xadArchiveInfo * ai, Tag tags, ...);
66 LONG xadGetFilenameA(ULONG buffersize, STRPTR buffer, STRPTR path, STRPTR name,
67 const struct TagItem * tags);
68 LONG xadGetFilename(ULONG buffersize, STRPTR buffer, STRPTR path, STRPTR name, Tag tags,
69 ...);
70 STRPTR xadConvertNameA(ULONG charset, const struct TagItem * tags);
71 STRPTR xadConvertName(ULONG charset, Tag tags, ...);
73 #endif /* CLIB_XADMASTER_PROTOS_H */