3 libbasetype struct IntUtilityBase
4 libbasetypeextern struct UtilityBase
10 #include <exec/types.h>
11 #include <exec/ports.h>
12 #include <utility/tagitem.h>
13 #include <utility/date.h>
14 #include <utility/hooks.h>
15 #include <utility/name.h>
17 /* Prototypes for stubs in amiga.lib */
18 #ifndef AllocNamedObject
22 struct NamedObject *AllocNamedObject(STRPTR name, Tag tag1, ...);
35 struct TagItem *FindTagItem(Tag tagValue, struct TagItem *tagList) (D0, A0)
37 IPTR GetTagData(Tag tagValue, IPTR defaultVal, struct TagItem *tagList) (D0, D1, A0)
39 ULONG PackBoolTags(ULONG initialFlags, struct TagItem *tagList, struct TagItem *boolMap) (D0, A0, A1)
41 struct TagItem *NextTagItem(struct TagItem **tagListPtr) (A0)
43 void FilterTagChanges(struct TagItem *changeList, const struct TagItem *originalList, BOOL apply) (A0, A1, D0)
44 void MapTags(struct TagItem *tagList, struct TagItem *mapList, ULONG mapType) (A0, A1, D0)
45 struct TagItem *AllocateTagItems(ULONG numTags) (D0)
46 struct TagItem *CloneTagItems(struct TagItem *tagList) (A0)
48 void FreeTagItems(struct TagItem *tagList) (A0)
50 void RefreshTagItemClones(struct TagItem *clone, struct TagItem *original) (A0, A1)
52 BOOL TagInArray(Tag tagValue, Tag *tagArray) (D0, A0)
53 ULONG FilterTagItems(struct TagItem *tagList, Tag *filterArray, ULONG logic) (A0, A1, D0)
54 IPTR CallHookPkt(struct Hook *hook, APTR object, APTR paramPacket) (A0, A2, A1)
56 void Amiga2Date(ULONG seconds, struct ClockData *result) (D0, A0)
57 ULONG Date2Amiga(struct ClockData *date) (A0)
58 ULONG CheckDate(struct ClockData *date) (A0)
59 LONG SMult32(LONG arg1, LONG arg2) (D0, D1)
60 ULONG UMult32(ULONG arg1, ULONG arg2) (D0, D1)
61 QUAD SDivMod32(LONG dividend, LONG divisor) (D0, D1)
62 ULONG UDivMod32(ULONG dividend, ULONG divisor) (D0, D1)
64 LONG Stricmp(CONST_STRPTR string1, CONST_STRPTR string2) (A0, A1)
65 LONG Strnicmp(CONST_STRPTR string1, CONST_STRPTR string2, LONG length) (A0, A1, D0)
66 UBYTE ToUpper(ULONG character) (D0)
67 UBYTE ToLower(ULONG character) (D0)
69 void ApplyTagChanges(struct TagItem *list, struct TagItem *changelist) (A0, A1)
72 QUAD SMult64(LONG arg1, LONG arg2) (D0, D1)
73 UQUAD UMult64(ULONG arg1, ULONG arg2) (D0, D1)
74 ULONG PackStructureTags(APTR pack, ULONG *packTable, struct TagItem *tagList) (A0, A1, A2)
76 ULONG UnpackStructureTags(APTR pack, ULONG *packTable, struct TagItem *tagList) (A0, A1, A2)
78 BOOL AddNamedObject(struct NamedObject *nameSpace, struct NamedObject *object) (A0, A1)
79 struct NamedObject *AllocNamedObjectA(CONST_STRPTR name, struct TagItem *tagList) (A0, A1)
80 LONG AttemptRemNamedObject(struct NamedObject *object) (A0)
81 struct NamedObject *FindNamedObject(struct NamedObject *nameSpace, CONST_STRPTR name, struct NamedObject *lastObject) (A0, A1, A2)
82 void FreeNamedObject(struct NamedObject *object) (A0)
83 STRPTR NamedObjectName(struct NamedObject *object) (A0)
84 void ReleaseNamedObject(struct NamedObject *object) (A0)
85 void RemNamedObject(struct NamedObject *object, struct Message *message) (A0, A1)
86 ULONG GetUniqueID() ()