#include "../Include_i.h"
Macros | |
#define | LOG_CLASS "RollingBuffer" |
Functions | |
STATUS | createRollingBuffer (UINT32 capacity, FreeDataFunc freeDataFunc, PRollingBuffer *ppRollingBuffer) |
STATUS | freeRollingBuffer (PRollingBuffer *ppRollingBuffer) |
STATUS | rollingBufferAppendData (PRollingBuffer pRollingBuffer, UINT64 data, PUINT64 pIndex) |
STATUS | rollingBufferInsertData (PRollingBuffer pRollingBuffer, UINT64 index, UINT64 data) |
STATUS | rollingBufferExtractData (PRollingBuffer pRollingBuffer, UINT64 index, PUINT64 pData) |
STATUS | rollingBufferGetSize (PRollingBuffer pRollingBuffer, PUINT32 pSize) |
STATUS | rollingBufferIsEmpty (PRollingBuffer pRollingBuffer, PBOOL pIsEmpty) |
#define LOG_CLASS "RollingBuffer" |
STATUS createRollingBuffer | ( | UINT32 | capacity, |
FreeDataFunc | freeDataFunc, | ||
PRollingBuffer * | ppRollingBuffer | ||
) |
STATUS freeRollingBuffer | ( | PRollingBuffer * | ppRollingBuffer | ) |
STATUS rollingBufferAppendData | ( | PRollingBuffer | pRollingBuffer, |
UINT64 | data, | ||
PUINT64 | pIndex | ||
) |
STATUS rollingBufferExtractData | ( | PRollingBuffer | pRollingBuffer, |
UINT64 | index, | ||
PUINT64 | pData | ||
) |
STATUS rollingBufferGetSize | ( | PRollingBuffer | pRollingBuffer, |
PUINT32 | pSize | ||
) |
STATUS rollingBufferInsertData | ( | PRollingBuffer | pRollingBuffer, |
UINT64 | index, | ||
UINT64 | data | ||
) |
STATUS rollingBufferIsEmpty | ( | PRollingBuffer | pRollingBuffer, |
PBOOL | pIsEmpty | ||
) |