FreeRDP
|
#include <winpr/config.h>
#include <limits.h>
#include <winpr/crt.h>
#include <winpr/sysinfo.h>
#include <winpr/collections.h>
Functions | |
static INLINE void | BipBlock_Clear (wBipBlock *_bbl) |
static INLINE void | BipBlock_Copy (wBipBlock *_dst, const wBipBlock *_src) |
void | BipBuffer_Clear (wBipBuffer *bb) |
static BOOL | BipBuffer_AllocBuffer (wBipBuffer *bb, size_t size) |
BOOL | BipBuffer_Grow (wBipBuffer *bb, size_t size) |
static void | BipBuffer_FreeBuffer (wBipBuffer *bb) |
size_t | BipBuffer_UsedSize (wBipBuffer *bb) |
size_t | BipBuffer_BufferSize (wBipBuffer *bb) |
BYTE * | BipBuffer_WriteTryReserve (wBipBuffer *bb, size_t size, size_t *reserved) |
BYTE * | BipBuffer_WriteReserve (wBipBuffer *bb, size_t size) |
void | BipBuffer_WriteCommit (wBipBuffer *bb, size_t size) |
SSIZE_T | BipBuffer_Write (wBipBuffer *bb, const BYTE *data, size_t size) |
BYTE * | BipBuffer_ReadTryReserve (wBipBuffer *bb, size_t size, size_t *reserved) |
BYTE * | BipBuffer_ReadReserve (wBipBuffer *bb, size_t size) |
void | BipBuffer_ReadCommit (wBipBuffer *bb, size_t size) |
SSIZE_T | BipBuffer_Read (wBipBuffer *bb, BYTE *data, size_t size) |
wBipBuffer * | BipBuffer_New (size_t size) |
void | BipBuffer_Free (wBipBuffer *bb) |
|
static |
The Bip Buffer - The Circular Buffer with a Twist: http://www.codeproject.com/Articles/3479/The-Bip-Buffer-The-Circular-Buffer-with-a-Twist
|
static |
|
static |
size_t BipBuffer_BufferSize | ( | wBipBuffer * | bb | ) |
void BipBuffer_Clear | ( | wBipBuffer * | bb | ) |
void BipBuffer_Free | ( | wBipBuffer * | bb | ) |
|
static |
BOOL BipBuffer_Grow | ( | wBipBuffer * | bb, |
size_t | size | ||
) |
wBipBuffer* BipBuffer_New | ( | size_t | size | ) |
Construction, Destruction
SSIZE_T BipBuffer_Read | ( | wBipBuffer * | bb, |
BYTE * | data, | ||
size_t | size | ||
) |
void BipBuffer_ReadCommit | ( | wBipBuffer * | bb, |
size_t | size | ||
) |
BYTE* BipBuffer_ReadReserve | ( | wBipBuffer * | bb, |
size_t | size | ||
) |
BYTE* BipBuffer_ReadTryReserve | ( | wBipBuffer * | bb, |
size_t | size, | ||
size_t * | reserved | ||
) |
size_t BipBuffer_UsedSize | ( | wBipBuffer * | bb | ) |
SSIZE_T BipBuffer_Write | ( | wBipBuffer * | bb, |
const BYTE * | data, | ||
size_t | size | ||
) |
void BipBuffer_WriteCommit | ( | wBipBuffer * | bb, |
size_t | size | ||
) |
BYTE* BipBuffer_WriteReserve | ( | wBipBuffer * | bb, |
size_t | size | ||
) |
BYTE* BipBuffer_WriteTryReserve | ( | wBipBuffer * | bb, |
size_t | size, | ||
size_t * | reserved | ||
) |