2 Copyright © 2001, The AROS Development Team. All rights reserved.
6 #include <exec/types.h>
7 #include <rexx/storage.h>
8 #include <proto/rexxsyslib.h>
12 /*****************************************************************************
16 BOOL
IsReginaMsg (struct RexxMsg
*msg
)
19 Check to see if message was generated from the regina interpreter.
20 This function will look at the rm_Private1 and rm_Private2 fields
21 to see if they are valid.
37 *****************************************************************************/
41 struct Library
*RexxSysBase
;
43 RexxSysBase
= OpenLibrary("rexxsyslib.library", 0);
44 if (RexxSysBase
== NULL
) return FALSE
;
46 CloseLibrary(RexxSysBase
);
47 if (!ok
) return FALSE
;
50 ForeachNode(__regina_tsdlist
, node
)
52 if (node
->TSD
== (tsd_t
*)msg
->rm_Private2
)