2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
11 #include "arossupport.h"
12 #include <dos/dostags.h>
14 #include <datatypes/datatypesclass.h>
19 #include <utility/tagitem.h>
21 #include <proto/utility.h>
23 ULONG
*FindMethod(ULONG
*methods
, ULONG searchmethodid
)
28 while(((LONG
)(*methods
)) != -1)
30 if(*methods
== searchmethodid
)
40 struct DTMethod
*FindTriggerMethod(struct DTMethod
*methods
, STRPTR command
, ULONG method
)
42 struct DTMethod
*retval
= NULL
;
46 while(methods
->dtm_Method
!= STM_DONE
)
50 if(Stricmp(methods
->dtm_Command
, command
) == 0)
59 if(methods
->dtm_Method
== method
)
72 } /* FindTriggerMethod */