16 typedef short int INT16;
17 typedef unsigned int UINT32;
18 typedef unsigned short int UINT16;
25 #if defined(unix) && defined(THREADS)
26 #include <UNIX/ThreadsMsgQueue.hh>
29 #ifndef unix // Provide these functions to vxWorks only
31 int myriReadFile(
char *filename,
void *buffer,
int size);
32 int myriWriteFile(
char *filename,
void *buffer,
int size);
33 int myriReadFile(
char *filename,
void *buffer,
int size,
int node);
34 int myriWriteFile(
char *filename,
void *buffer,
int size,
int node);
37 #if defined(__linux__) || defined(__APPLE__)
40 extern void *vxFileRequestServer(
void *pnode=NULL);
43 int myriInit(pMSGQARRAY_PROTO(msgQueArray),
int multinodeSupport=0);
62 STATUS raw_myriMsgSend(UINT16 targetId,
ic_msg *pMsg,
int override_source_id);
63 STATUS myriMsgSend(UINT16 targetId,
ic_msg *pMsg,
int board=0);
66 STATUS myriMsgSend(UINT16 *targetList,
ic_msg *pMsg,
int board=0);
67 STATUS myriMsgSend(UINT16 targetId,
ic_msg *msgList[],
int board=0);
68 STATUS myriMsgSend(UINT16 *targetList,
ic_msg *msgList[],
int board=0);
87 myriMemcpy(UINT32 pTargetBuff_hi,
88 UINT32 pTargetBuff_lo,
104 myriMemcpy2(UINT32 *pLocalBuff,
110 STATUS myriAddAuxMem(
void *start,
unsigned long int size);
118 void setMyriLogLevel(
int);
120 UINT16 getDaqNodeId(
char *nodename=NULL,
int board=0);
124 extern void *(*directMsgCallback)(
void *,int,UINT16);
125 extern pTASKID myriRcvTaskId;
126 extern int myriErrorTask;
128 void myriFreeMemcpy2Buff(
char *buff);
129 int myriSetMemcpy2Buffs(
char *start,
int n,
int size);