25 #define LMD__SUCCESS 0
26 #define LMD__FAILURE 1
27 #define LMD__CLOSE_ERR 3
28 #define GETLMD__NOFILE 2
29 #define GETLMD__NOLMDFILE 4
30 #define GETLMD__EOFILE 5
31 #define GETLMD__NOMORE 6
32 #define GETLMD__NOBUFFER 7
33 #define GETLMD__TOOBIG 8
34 #define GETLMD__OUTOF_RANGE 9
35 #define GETLMD__SIZE_ERROR 10
36 #define LMD__TIMEOUT 50
37 #define PUTLMD__FILE_EXIST 101
38 #define PUTLMD__TOOBIG 102
39 #define PUTLMD__OPEN_ERR 103
40 #define PUTLMD__EXCEED 104
41 #define PORT__TRANS 6000
42 #define PORT__STREAM 6002
uint32_t fLmdPutElement(sLmdControl *, sMbsHeader *)
uint64_t fLmdGetBytesWritten(sLmdControl *)
void fLmdSwap8(uint64_t *, uint32_t)
void fLmdVerbose(sLmdControl *, uint32_t)
uint32_t fLmdGetSwap(sLmdControl *)
uint32_t fLmdPutBuffer(sLmdControl *, sMbsHeader *, uint32_t)
uint32_t fLmdGetMbsEvent(sLmdControl *, sMbsHeader **)
uint32_t fLmdCloseMbs(sLmdControl *)
uint32_t fLmdPutOpen(sLmdControl *, char *, sMbsFileHeader *, uint32_t, uint32_t, uint32_t, uint32_t)
void fLmdSetWrittenEndian(sLmdControl *, uint32_t)
uint32_t fLmdGetClose(sLmdControl *)
uint32_t fLmdConnectMbs(sLmdControl *, char *, uint32_t, uint32_t *)
void fLmdPrintFileHeader(uint32_t, sMbsFileHeader *)
int32_t fLmdReadBuffer(sLmdControl *, char *, uint32_t)
void fLmdPrintControl(uint32_t, sLmdControl *)
void fLmdPrintBufferHeader(uint32_t, sMbsBufferHeader *)
void fLmdPrintEvent(uint32_t, sMbsEventHeader *)
uint32_t fLmdPutClose(sLmdControl *)
uint32_t fLmdInitMbs(sLmdControl *, char *, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)
uint32_t fLmdGetMbsBuffer(sLmdControl *, sMbsBufferHeader *, uint32_t, uint32_t *, uint32_t *)
uint32_t fLmdGetBuffer(sLmdControl *, sMbsHeader *, uint32_t, uint32_t *, uint32_t *)
void fLmdPrintHeader(uint32_t, sMbsHeader *)
uint32_t fLmdGetOpen(sLmdControl *, char *, sMbsFileHeader *, uint32_t, uint32_t)
uint32_t fLmdGetWrittenEndian(sLmdControl *)
uint32_t fLmdGetElement(sLmdControl *, uint32_t, sMbsHeader **)
sMbsFileHeader * pMbsFileHeader
void fLmdSwap4(uint32_t *, uint32_t)
sLmdControl * fLmdAllocateControl()