refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / rom / utility / utility.conf
blob8f29abe439bcd35e89e33d76b7a6856cbf64a17f
1 ##begin config
2 version 41.14
3 libbasetype struct IntUtilityBase
4 libbasetypeextern struct UtilityBase
5 residentpri 103
6 options noexpunge,rellinklib
7 ##end config
9 ##begin cdef
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
20 __BEGIN_DECLS
22 struct NamedObject *AllocNamedObject(STRPTR name, Tag tag1, ...);
24 __END_DECLS
26 #endif
27 ##end cdef
29 ##begin cdefprivate
30 #include "intern.h"
31 ##end cdefprivate
33 ##begin functionlist
34 .version 36
35 struct TagItem *FindTagItem(Tag tagValue, const struct TagItem *tagList) (D0, A0)
36 .novararg
37 IPTR GetTagData(Tag tagValue, IPTR defaultVal, const struct TagItem *tagList) (D0, D1, A0)
38 .novararg
39 ULONG PackBoolTags(ULONG initialFlags, struct TagItem *tagList, struct TagItem *boolMap) (D0, A0, A1)
40 .novararg
41 struct TagItem *NextTagItem(struct TagItem **tagListPtr) (A0)
42 .novararg
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(const struct TagItem *tagList) (A0)
47 .novararg
48 void FreeTagItems(struct TagItem *tagList) (A0)
49 .novararg
50 void RefreshTagItemClones(struct TagItem *clone, const struct TagItem *original) (A0, A1)
51 .novararg
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)
55 .skip 2
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)
63 .version 37
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)
68 .version 39
69 void ApplyTagChanges(struct TagItem *list, struct TagItem *changelist) (A0, A1)
70 .novararg
71 .skip 1
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)
75 .novararg
76 ULONG UnpackStructureTags(APTR pack, ULONG *packTable, struct TagItem *tagList) (A0, A1, A2)
77 .novararg
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() ()
87 ##end functionlist