From: hadaq Date: Mon, 31 Mar 2008 17:39:53 +0000 (+0000) Subject: new function NetTrans_multiReceive which has no limitation in terms of subsystems... X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=b3de3e20d89ef48beaf522a9adeb510897606e6f;p=daqdata.git new function NetTrans_multiReceive which has no limitation in terms of subsystems. S.Y. --- diff --git a/hadaq/nettrans.h b/hadaq/nettrans.h index 4055dba..c768908 100644 --- a/hadaq/nettrans.h +++ b/hadaq/nettrans.h @@ -5,6 +5,7 @@ #include #include #include +#include #include "worker.h" #include "hadtu.h" @@ -41,8 +42,10 @@ NetTrans *NetTrans_open(const char *name, size_t bandwidth, Worker *worker); void NetTrans_close(NetTrans *my); void NetTrans_remove(NetTrans *my); +int assembleMsg(NetTrans *my, void *hadTu, size_t size); int NetTrans_send(NetTrans *my, void *hadTu); void NetTrans_recv(NetTrans *my, void *hadTu, size_t size); unsigned long NetTrans_multiRecv(NetTrans *my[], void *hadTu[], size_t size[], int nrOfMsgs); +fd_set *NetTrans_multiReceive(NetTrans *my[], void *hadTu[], size_t size[], int nrOfMsgs); #endif