Amazon Kinesis Webrtc C SDK
RollingBuffer.c File Reference
#include "../Include_i.h"
Include dependency graph for RollingBuffer.c:

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)
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "RollingBuffer"

Function Documentation

◆ createRollingBuffer()

STATUS createRollingBuffer ( UINT32  capacity,
FreeDataFunc  freeDataFunc,
PRollingBuffer ppRollingBuffer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freeRollingBuffer()

STATUS freeRollingBuffer ( PRollingBuffer ppRollingBuffer)
Here is the caller graph for this function:

◆ rollingBufferAppendData()

STATUS rollingBufferAppendData ( PRollingBuffer  pRollingBuffer,
UINT64  data,
PUINT64  pIndex 
)
Here is the caller graph for this function:

◆ rollingBufferExtractData()

STATUS rollingBufferExtractData ( PRollingBuffer  pRollingBuffer,
UINT64  index,
PUINT64  pData 
)
Here is the caller graph for this function:

◆ rollingBufferGetSize()

STATUS rollingBufferGetSize ( PRollingBuffer  pRollingBuffer,
PUINT32  pSize 
)
Here is the caller graph for this function:

◆ rollingBufferInsertData()

STATUS rollingBufferInsertData ( PRollingBuffer  pRollingBuffer,
UINT64  index,
UINT64  data 
)
Here is the caller graph for this function:

◆ rollingBufferIsEmpty()

STATUS rollingBufferIsEmpty ( PRollingBuffer  pRollingBuffer,
PBOOL  pIsEmpty 
)