2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #include <proto/exec.h>
9 #include "realtime_intern.h"
11 /*****************************************************************************
14 #include <libraries/realtime.h>
16 AROS_LH1(struct Conductor
*, FindConductor
,
20 AROS_LHA(STRPTR
, name
, A0
),
24 struct Library
*, RealTimeBase
, 13, RealTime
)
28 Get the conductor with name 'name' or NULL if no conductor exists
33 name -- The name of the conductor to find.
37 A pointer to the conductor you wanted or NULL if it didn't exist.
41 You have to lock the conductors with LockRealTime(RT_CONDUCTORS)
42 before calling this function.
50 NextConductor(), LockRealTime(), UnlockRealTime()
56 26.7.99 SDuvan implemented
58 ******************************************************************************/
63 struct Conductor
*conductor
= (struct Conductor
*)
64 FindName((struct List
*)&GPB(RealTimeBase
)->rtb_ConductorList
, name
);
66 if (conductor
== NULL
)
71 if (conductor
->cdt_Flags
& CONDUCTF_PRIVATE
)