1 #ifndef _RTS_COM_STUB_H_
2 #define _RTS_COM_STUB_H_
14 typedef MSG_Q_ID RTS_QUEUE_ID ;
20 typedef int RTS_QUEUE_ID ;
24 #define WAIT_FOREVER (-1)
26 #define MSG_PRI_NORMAL 0
27 #define MSG_PRI_URGENT 1
33 extern unsigned short rtsNodeId ;
34 extern unsigned short rtsMyriNodeId ;
35 extern unsigned int rtsMyriBoard ;
37 extern int (*stub_myriMsgSend)(
unsigned short node,
ic_msg *m,
int board ) ;
38 extern int (*stub_myriMsgSend_n)(
unsigned short *node,
ic_msg *m,
int board ) ;
39 extern int (*stub_myriMsgSend_m)(
unsigned short node,
ic_msg *m[],
int board ) ;
40 extern int (*stub_myriMsgSend_nm)(
unsigned short *node,
ic_msg *m[],
int board ) ;
43 extern int (*rtsSendLocal)(RTS_QUEUE_ID id,
char *m,
unsigned int bytes,
int wait,
int prio) ;
45 extern int rtsMsgInit(RTS_QUEUE_ID *qlist,
unsigned short myid, RTS_QUEUE_ID eth, RTS_QUEUE_ID vme) ;
47 extern int rtsMsgSend(
unsigned short node,
ic_msg *m) ;
48 extern int rtsMsgSend(
unsigned short *node,
ic_msg *m) ;
49 extern int rtsMsgSend(
unsigned short node,
ic_msg *m[]) ;
50 extern int rtsMsgSend(
unsigned short *node,
ic_msg *m[]) ;