Go to the source code of this file.
Defines | |
#define | OFFSET__ENTRIES 250000 |
Functions | |
int32_t | fLmdWriteBuffer (sLmdControl *, char *, uint32_t) |
uint32_t | fLmdCleanup (sLmdControl *) |
void | fLmdOffsetResize (sLmdControl *, uint32_t) |
uint32_t | fLmdOffsetSet (sLmdControl *, uint32_t) |
uint32_t | fLmdOffsetRead (sLmdControl *) |
uint32_t | fLmdOffsetWrite (sLmdControl *) |
lmdoff_t | fLmdOffsetGet (sLmdControl *, uint32_t) |
void | fLmdOffsetElements (sLmdControl *, uint32_t, uint32_t *, uint32_t *) |
uint32_t | fLmdPutOpen (sLmdControl *pLmdControl, char *Filename, sMbsFileHeader *pBuffHead, uint32_t iBytes, uint32_t iOver, uint32_t iUseOffset, uint32_t iLargeFile) |
uint32_t | fLmdPutElement (sLmdControl *pLmdControl, sMbsHeader *pHeader) |
uint32_t | fLmdPutBuffer (sLmdControl *pLmdControl, sMbsHeader *pHeader, uint32_t Items) |
uint32_t | fLmdPutClose (sLmdControl *pLmdControl) |
uint32_t | fLmdConnectMbs (sLmdControl *pLmdControl, char *Nodename, uint32_t iPort, uint32_t *iBufferBytes) |
uint32_t | fLmdInitMbs (sLmdControl *pLmdControl, char *Nodename, uint32_t iMaxBytes, uint32_t iBuffers, uint32_t iStreams, uint32_t iPort, uint32_t iTimeout) |
uint32_t | fLmdCloseMbs (sLmdControl *pLmdControl) |
uint32_t | fLmdGetMbsEvent (sLmdControl *pLmdControl, sMbsHeader **event) |
uint32_t | fLmdGetMbsBuffer (sLmdControl *pLmdControl, sMbsBufferHeader *pBuffer, uint32_t iBytes, uint32_t *iElements, uint32_t *iBytesUsed) |
uint32_t | fLmdGetOpen (sLmdControl *pLmdControl, char *Filename, sMbsFileHeader *pBuffHead, uint32_t iBytes, uint32_t iUseOffset) |
uint32_t | fLmdGetBuffer (sLmdControl *pLmdControl, sMbsHeader *pMbsHeader, uint32_t iBytes, uint32_t *iElements, uint32_t *iBytesUsed) |
uint32_t | fLmdGetElement (sLmdControl *pLmdControl, uint32_t iEvent, sMbsHeader **event) |
uint32_t | fLmdGetClose (sLmdControl *pLmdControl) |
int32_t | fLmdReadBuffer (sLmdControl *pLmdControl, char *buffer, uint32_t bytes) |
uint64_t | fLmdGetBytesWritten (sLmdControl *pLmdControl) |
uint32_t | fLmdGetSwap (sLmdControl *pLmdControl) |
void | fLmdSetWrittenEndian (sLmdControl *pLmdControl, uint32_t iE) |
uint32_t | fLmdGetWrittenEndian (sLmdControl *pLmdControl) |
sLmdControl * | fLmdAllocateControl () |
void | fLmdPrintBufferHeader (uint32_t iVerbose, sMbsBufferHeader *pMbsBufferHeader) |
void | fLmdPrintFileHeader (uint32_t iVerbose, sMbsFileHeader *pMbsFileHeader) |
void | fLmdPrintHeader (uint32_t iVerbose, sMbsHeader *pMbsHeader) |
void | fLmdPrintEvent (uint32_t iVerbose, sMbsEventHeader *pMbsEventHeader) |
void | fLmdPrintControl (uint32_t iVerbose, sLmdControl *pLmdControl) |
void | fLmdSwap4 (uint32_t *array, uint32_t items) |
void | fLmdSwap8 (uint64_t *array, uint32_t items) |
|
Definition at line 97 of file fLmd.c. Referenced by fLmdOffsetResize(). |
|
Definition at line 779 of file fLmd.c. References sLmdControl::fFile. Referenced by fLmdOffsetWrite(), fLmdPutBuffer(), fLmdPutClose(), fLmdPutElement(), and fLmdPutOpen(). |
|
Definition at line 799 of file fLmd.c. References LMD__SUCCESS. Referenced by fLmdCloseMbs(), fLmdConnectMbs(), fLmdGetClose(), fLmdGetOpen(), fLmdPutClose(), and fLmdPutOpen(). |
|
Definition at line 987 of file fLmd.c. References sLmdControl::iOffsetEntries, sLmdControl::iOffsetSize, OFFSET__ENTRIES, sLmdControl::pOffset4, and sLmdControl::pOffset8. Referenced by fLmdOffsetSet(), and fLmdPutOpen(). |
|
Definition at line 965 of file fLmd.c. References fLmdOffsetResize(), sLmdControl::iElements, sLmdControl::iOffsetEntries, LMD__SUCCESS, sLmdControl::pOffset4, and sLmdControl::pOffset8. Referenced by fLmdPutBuffer(), and fLmdPutElement(). |
|
Definition at line 881 of file fLmd.c. References sLmdControl::cFile, sLmdControl::fFile, fLmdReadBuffer(), fLmdSwap4(), fLmdSwap8(), GETLMD__NOLMDFILE, sMbsFileHeader::iElements, sLmdControl::iOffsetEntries, sLmdControl::iOffsetSize, sLmdControl::iSwap, sMbsFileHeader::iTableOffset, LMD__SUCCESS, LMD__TYPE_FILE_INDEX_101_2, sLmdControl::pMbsFileHeader, sLmdControl::pOffset4, and sLmdControl::pOffset8. Referenced by fLmdGetOpen(). |
|
Definition at line 929 of file fLmd.c. References sLmdControl::fFile, fLmdWriteBuffer(), sLmdControl::iElements, sLmdControl::iOffsetSize, sMbsFileHeader::iTableOffset, sMbsHeader::iType, sMbsHeader::iWords, LMD__FAILURE, LMD__SUCCESS, LMD__TYPE_FILE_INDEX_101_2, sLmdControl::pMbsFileHeader, sLmdControl::pOffset4, and sLmdControl::pOffset8. Referenced by fLmdPutClose(). |
|
Definition at line 980 of file fLmd.c. References sLmdControl::pOffset4, and sLmdControl::pOffset8. Referenced by fLmdGetElement(). |
|
Definition at line 848 of file fLmd.c. References sLmdControl::iElements, sLmdControl::iOffsetEntries, sLmdControl::iOffsetSize, sLmdControl::pOffset4, and sLmdControl::pOffset8. Referenced by fLmdGetBuffer(). |
|
|
|
Definition at line 230 of file fLmd.c. References fLmdOffsetSet(), fLmdWriteBuffer(), sLmdControl::iBytes, sLmdControl::iElements, sMbsFileHeader::iElements, sMbsFileHeader::iMaxWords, sLmdControl::iOffsetEntries, sLmdControl::iOffsetSize, sMbsHeader::iWords, LMD__FAILURE, LMD__SUCCESS, sLmdControl::pMbsFileHeader, and PUTLMD__EXCEED. Referenced by f_evt_put_buffer(). |
|
Definition at line 279 of file fLmd.c. References sLmdControl::fFile, fLmdCleanup(), fLmdGetClose(), fLmdOffsetWrite(), fLmdWriteBuffer(), sLmdControl::iBufferWords, sLmdControl::iBytes, sLmdControl::iLeftWords, sLmdControl::iOffsetEntries, sMbsFileHeader::iTableOffset, LMD__FAILURE, LMD__SUCCESS, sLmdControl::pBuffer, and sLmdControl::pMbsFileHeader. Referenced by f_evt_put_close(). |
|
Definition at line 311 of file fLmd.c. References sLmdControl::cFile, f_stc_connectserver(), f_stc_read(), fLmdCleanup(), fLmdSwap4(), sLmdControl::iBufferWords, sLmdControl::iInternBuffer, sLmdControl::iPort, sLmdControl::iSwap, sLmdControl::iTCP, LMD__FAILURE, LMD__GET_EVENTS, LMD__SUCCESS, sLmdControl::pBuffer, PORT__STREAM, PORT__TRANS, sLmdControl::pTCP, and STC__SUCCESS. |
|
Definition at line 362 of file fLmd.c. References sLmdControl::cFile, sLmdControl::iBufferWords, sLmdControl::iInternBuffer, sLmdControl::iPort, sLmdControl::iTCP, sLmdControl::iTcpTimeout, LMD__FAILURE, LMD__SUCCESS, sLmdControl::pBuffer, sLmdControl::pTCP, and s_tcpcomm::socket. Referenced by f_evt_get_open(). |
|
Definition at line 385 of file fLmd.c. References f_stc_close(), f_stc_write(), fLmdCleanup(), sLmdControl::iPort, sLmdControl::iTCP, sLmdControl::pMbsFileHeader, PORT__STREAM, and sLmdControl::pTCP. Referenced by f_evt_get_close(). |
|
Definition at line 398 of file fLmd.c. References fLmdGetMbsBuffer(), sLmdControl::iElements, sLmdControl::iLeftWords, sMbsHeader::iWords, LMD__SUCCESS, sLmdControl::pBuffer, and sLmdControl::pMbsHeader. Referenced by f_evt_get_event(). |
|
Definition at line 420 of file fLmd.c. References sLmdControl::cFile, f_stc_read(), f_stc_write(), fLmdSwap4(), sLmdControl::iBufferWords, sLmdControl::iBytes, sLmdControl::iLeftWords, sLmdControl::iPort, sLmdControl::iSwap, sLmdControl::iTCP, sLmdControl::iTcpTimeout, LMD__FAILURE, LMD__SUCCESS, LMD__TIMEOUT, sLmdControl::pBuffer, sLmdControl::pMbsFileHeader, PORT__STREAM, STC__SUCCESS, and STC__TIMEOUT. Referenced by fLmdGetMbsEvent(). |
|
|
|
|
Definition at line 762 of file fLmd.c. References sLmdControl::fFile, fLmdCleanup(), LMD__CLOSE_ERR, and LMD__SUCCESS. Referenced by f_evt_get_close(), fLmdGetOpen(), and fLmdPutClose(). |
|
Definition at line 772 of file fLmd.c. References sLmdControl::fFile. Referenced by fLmdGetBuffer(), fLmdGetElement(), fLmdGetOpen(), and fLmdOffsetRead(). |
|
Definition at line 787 of file fLmd.c. References sLmdControl::iBufferWords, sLmdControl::iBytes, sLmdControl::iElements, sLmdControl::iLeftWords, sLmdControl::iOffsetSize, sLmdControl::pOffset4, and sLmdControl::pOffset8. |
|
|
|
Definition at line 827 of file fLmd.c. References sMbsFileHeader::iWrittenEndian, and sLmdControl::pMbsFileHeader. |
|
Definition at line 834 of file fLmd.c. References sMbsFileHeader::iWrittenEndian, LMD__ENDIAN_UNKNOWN, and sLmdControl::pMbsFileHeader. |
|
Definition at line 841 of file fLmd.c. Referenced by f_evt_get_open(), and f_evt_put_open(). |
|
Definition at line 1022 of file fLmd.c. References sMbsBufferHeader::iBuffer, sMbsBufferHeader::iElements, sMbsBufferHeader::iMaxWords, sMbsBufferHeader::iTimeSpecNanoSec, sMbsBufferHeader::iTimeSpecSec, sMbsBufferHeader::iType, and sMbsBufferHeader::iUsedWords. |
|
Definition at line 1036 of file fLmd.c. References sMbsFileHeader::iElements, sMbsFileHeader::iMaxWords, sMbsFileHeader::iOffsetSize, sMbsFileHeader::iTableOffset, sMbsFileHeader::iTimeSpecNanoSec, sMbsFileHeader::iTimeSpecSec, sMbsFileHeader::iType, and sMbsFileHeader::iUsedWords. Referenced by fLmdGetOpen(), and fLmdPrintControl(). |
|
Definition at line 1052 of file fLmd.c. References sMbsHeader::iType, and sMbsHeader::iWords. |
|
Definition at line 1061 of file fLmd.c. References sMbsEventHeader::iEventNumber, sMbsEventHeader::iTrigger, sMbsEventHeader::iType, and sMbsEventHeader::iWords. Referenced by fLmdPrintControl(). |
|
Definition at line 1072 of file fLmd.c. References sLmdControl::cFile, fLmdPrintEvent(), fLmdPrintFileHeader(), sLmdControl::iBufferWords, sLmdControl::iBytes, sLmdControl::iElements, sLmdControl::iLeftWords, sLmdControl::pMbsFileHeader, and sLmdControl::pMbsHeader. |
|
Definition at line 1086 of file fLmd.c. Referenced by fLmdConnectMbs(), fLmdGetBuffer(), fLmdGetElement(), fLmdGetMbsBuffer(), fLmdGetOpen(), and fLmdOffsetRead(). |
|
Definition at line 1100 of file fLmd.c. Referenced by fLmdGetOpen(), and fLmdOffsetRead(). |