home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROS_m68k_bin.lha / AROS / include / clib / utility_protos.h < prev   
C/C++ Source or Header  |  1997-02-08  |  7KB  |  207 lines

  1. #ifndef CLIB_UTILITY_PROTOS_H
  2. #define CLIB_UTILITY_PROTOS_H
  3.  
  4. /*
  5.     (C) 1995-97 AROS - The Amiga Replacement OS
  6.     $Id: utility_protos.h,v 1.16 1997/02/04 17:27:40 digulla Exp $
  7.  
  8.     Desc: Prototypes for utility.library
  9.     Lang: english
  10. */
  11.  
  12. #ifndef AROS_LIBCALL_H
  13. #   include <aros/libcall.h>
  14. #endif
  15.  
  16. /*
  17.     Prototypes
  18. */
  19. AROS_LP2(BOOL, AddNamedObject,
  20.     AROS_LPA(struct NamedObject *, nameSpace, A0),
  21.     AROS_LPA(struct NamedObject *, object, A1),
  22.     struct UtilityBase *, UtilityBase, 37, Utility)
  23.  
  24. AROS_LP1(struct TagItem *, AllocateTagItems,
  25.     AROS_LPA(ULONG, numTags, D0),
  26.     struct UtilityBase *, UtilityBase, 11, Utility)
  27.  
  28. AROS_LP2(struct NamedObject *, AllocNamedObjectA,
  29.     AROS_LPA(STRPTR          , name, A0),
  30.     AROS_LPA(struct TagItem *, tagList, A1),
  31.     struct UtilityBase *, UtilityBase, 38, Utility)
  32.  
  33. AROS_LP2(void, Amiga2Date,
  34.     AROS_LPA(ULONG             , seconds, D0),
  35.     AROS_LPA(struct ClockData *, result, A0),
  36.     struct Library *, UtilityBase, 20, Utility)
  37.  
  38. AROS_LP2(void, ApplyTagChanges,
  39.     AROS_LPA(struct TagItem *, list,       A0),
  40.     AROS_LPA(struct TagItem *, changelist, A1),
  41.     struct UtilityBase *, UtilityBase, 31, Utility)
  42.  
  43. AROS_LP1(LONG, AttemptRemNamedObject,
  44.     AROS_LPA(struct NamedObject *, object, A0),
  45.     struct Library *, UtilityBase, 39, Utility)
  46.  
  47. AROS_LP3(ULONG, CallHookPkt,
  48.     AROS_LPA(struct Hook *, hook, A0),
  49.     AROS_LPA(APTR         , object, A2),
  50.     AROS_LPA(APTR         , paramPacket, A1),
  51.     struct Library *, UtilityBase, 17, Utility)
  52.  
  53. AROS_LP1(ULONG, CheckDate,
  54.     AROS_LPA(struct ClockData *, date, A0),
  55.     struct Library *, UtilityBase, 22, Utility)
  56.  
  57. AROS_LP1(struct TagItem *, CloneTagItems,
  58.     AROS_LPA(struct TagItem *, tagList, A0),
  59.     struct UtilityBase *, UtilityBase, 12, Utility)
  60.  
  61. AROS_LP1(ULONG, Date2Amiga,
  62.     AROS_LPA(struct ClockData *, date, A0),
  63.     struct UtilityBase *, UtilityBase, 21, Utility)
  64.  
  65. AROS_LP3(void, FilterTagChanges,
  66.     AROS_LPA(struct TagItem *, changeList, A0),
  67.     AROS_LPA(struct TagItem *, originalList, A1),
  68.     AROS_LPA(BOOL            , apply, D0),
  69.     struct Library *, UtilityBase, 9, Utility)
  70.  
  71. AROS_LP3(ULONG, FilterTagItems,
  72.     AROS_LPA(struct TagItem *, tagList, A0),
  73.     AROS_LPA(Tag            *, filterArray, A1),
  74.     AROS_LPA(ULONG           , logic, D0),
  75.     struct Library *, UtilityBase, 16, Utility)
  76.  
  77. AROS_LP3(struct NamedObject *, FindNamedObject,
  78.     AROS_LPA(struct NamedObject *, nameSpace, A0),
  79.     AROS_LPA(STRPTR              , name, A1),
  80.     AROS_LPA(struct NamedObject *, lastObject, A2),
  81.     struct UtilityBase *, UtilityBase, 40, Utility)
  82.  
  83. AROS_LP2(struct TagItem *, FindTagItem,
  84.     AROS_LPA(Tag,              tagValue, D0),
  85.     AROS_LPA(struct TagItem *, tagList,  A0),
  86.     struct UtilityBase *, UtilityBase, 5, Utility)
  87.  
  88. AROS_LP1(void, FreeNamedObject,
  89.     AROS_LPA(struct NamedObject *, object, A0),
  90.     struct UtilityBase *, UtilityBase, 41, Utility)
  91.  
  92. AROS_LP1(void, FreeTagItems,
  93.     AROS_LPA(struct TagItem *, tagList, A0),
  94.     struct UtilityBase *, UtilityBase, 13, Utility)
  95.  
  96. AROS_LP3(ULONG, GetTagData,
  97.     AROS_LPA(Tag             , tagValue, D0),
  98.     AROS_LPA(ULONG           , defaultVal, D1),
  99.     AROS_LPA(struct TagItem *, tagList, A0),
  100.     struct UtilityBase *, UtilityBase, 6, Utility)
  101.  
  102. AROS_LP0(ULONG, GetUniqueID,
  103.     struct UtilityBase *, UtilityBase, 45, Utility)
  104.  
  105. AROS_LP3(void, MapTags,
  106.     AROS_LPA(struct TagItem *, tagList, A0),
  107.     AROS_LPA(struct TagItem *, mapList, A1),
  108.     AROS_LPA(ULONG           , mapType, D0),
  109.     struct Library *, UtilityBase, 10, Utility)
  110.  
  111. AROS_LP1(STRPTR, NamedObjectName,
  112.     AROS_LPA(struct NamedObject *, object, A0),
  113.     struct UtilityBase *, UtilityBase, 42, Utility)
  114.  
  115. AROS_LP1(struct TagItem *, NextTagItem,
  116.     AROS_LPA(struct TagItem **, tagListPtr, A0),
  117.     struct Library *, UtilityBase, 8, Utility)
  118.  
  119. AROS_LP3(ULONG, PackBoolTags,
  120.     AROS_LPA(ULONG           , initialFlags, D0),
  121.     AROS_LPA(struct TagItem *, tagList, A0),
  122.     AROS_LPA(struct TagItem *, boolMap, A1),
  123.     struct UtilityBase *, UtilityBase, 7, Utility)
  124.  
  125. AROS_LP3(ULONG, PackStructureTags,
  126.     AROS_LPA(APTR            , pack, A0),
  127.     AROS_LPA(ULONG          *, packTable, A1),
  128.     AROS_LPA(struct TagItem *, tagList, A2),
  129.     struct Library *, UtilityBase, 35, Utility)
  130.  
  131. AROS_LP2(void, RefreshTagItemClones,
  132.     AROS_LPA(struct TagItem *, clone, A0),
  133.     AROS_LPA(struct TagItem *, original, A1),
  134.     struct UtilityBase *, UtilityBase, 14, Utility)
  135.  
  136. AROS_LP1(void, ReleaseNamedObject,
  137.     AROS_LPA(struct NamedObject *, object, A0),
  138.     struct UtilityBase *, UtilityBase, 43, Utility)
  139.  
  140. AROS_LP2(void, RemNamedObject,
  141.     AROS_LPA(struct NamedObject *, object, A0),
  142.     AROS_LPA(struct Message     *, message, A1),
  143.     struct UtilityBase *, UtilityBase, 44, Utility)
  144.  
  145. AROS_LP2(QUAD, SDivMod32,
  146.     AROS_LPA(LONG, dividend, D0),
  147.     AROS_LPA(LONG, divisor, D1),
  148.     struct UtilityBase *, UtilityBase, 25, Utility)
  149.  
  150. AROS_LP2(LONG, SMult32,
  151.     AROS_LPA(LONG, arg1, D0),
  152.     AROS_LPA(LONG, arg2, D1),
  153.     struct UtilityBase *, UtilityBase, 23, Utility)
  154.  
  155. AROS_LP2(QUAD, SMult64,
  156.     AROS_LPA(LONG, arg1, D0),
  157.     AROS_LPA(LONG, arg2, D1),
  158.     struct UtilityBase *, UtilityBase, 33, Utility)
  159.  
  160. AROS_LP2(LONG, Stricmp,
  161.     AROS_LPA(STRPTR, string1, A0),
  162.     AROS_LPA(STRPTR, string2, A1),
  163.     struct UtilityBase *, UtilityBase, 27, Utility)
  164.  
  165. AROS_LP3(LONG, Strnicmp,
  166.     AROS_LPA(STRPTR, string1, A0),
  167.     AROS_LPA(STRPTR, string2, A1),
  168.     AROS_LPA(LONG,   length,  D0),
  169.     struct UtilityBase *, UtilityBase, 28, Utility)
  170.  
  171. AROS_LP2(BOOL, TagInArray,
  172.     AROS_LPA(Tag  , tagValue, D0),
  173.     AROS_LPA(Tag *, tagArray, A0),
  174.     struct UtilityBase *, UtilityBase, 15, Utility)
  175.  
  176. AROS_LP1I(UBYTE, ToLower,
  177.     AROS_LPA(ULONG, character, D0),
  178.     struct UtilityBase *, UtilityBase, 30, Utility)
  179.  
  180. AROS_LP1I(UBYTE, ToUpper,
  181.     AROS_LPA(ULONG, character, D0),
  182.     struct UtilityBase *, UtilityBase, 29, Utility)
  183.  
  184. AROS_LP2(ULONG, UDivMod32,
  185.     AROS_LPA(ULONG, dividend, D0),
  186.     AROS_LPA(ULONG, divisor, D1),
  187.     struct Library *, UtilityBase, 26, Utility)
  188.  
  189. AROS_LP2(ULONG, UMult32,
  190.     AROS_LPA(ULONG        , arg1, D0),
  191.     AROS_LPA(ULONG        , arg2, D1),
  192.     struct UtilityBase *, UtilityBase, 24, Utility)
  193.  
  194. AROS_LP2(UQUAD, UMult64,
  195.     AROS_LPA(ULONG, arg1, D0),
  196.     AROS_LPA(ULONG, arg2, D1),
  197.     struct UtilityBase *, UtilityBase, 34, Utility)
  198.  
  199. AROS_LP3(ULONG, UnpackStructureTags,
  200.     AROS_LPA(APTR            , pack, A0),
  201.     AROS_LPA(ULONG          *, packTable, A1),
  202.     AROS_LPA(struct TagItem *, tagList, A2),
  203.     struct Library *, UtilityBase, 36, Utility)
  204.  
  205.  
  206. #endif /* CLIB_UTILITY_PROTOS_H */
  207.