2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
8 #include "rexxsyslib_intern.h"
10 /*****************************************************************************
13 #include <clib/rexxsyslib_protos.h>
15 AROS_LH1(BOOL
, IsRexxMsg
,
18 AROS_LHA(struct RexxMsg
*, msgptr
, A0
),
21 struct Library
*, RexxSysBase
, 28, RexxSys
)
24 Test to see if given Message is a RexxMsg
27 msgptr - Message to test
30 TRUE if it is one, FALSE otherwise
42 The name of the Node part of the Message is used to see if this
45 *****************************************************************************/
50 char *name
= ((struct Node
*)msgptr
)->ln_Name
, *id
= RSBI(RexxSysBase
)->rexxmsgid
;
52 if (name
== id
) ok
= TRUE
;
54 ReturnBool("IsRexxMsg", ok
);