XBinder
Version 2.9.x
|
#include "rtxsrc/rtxContext.h"
Go to the source code of this file.
Functions | |
EXTERNRT int | rtxMemBufAppend (OSRTMEMBUF *pMemBuf, const OSOCTET *pdata, OSSIZE nbytes) |
This function appends the data to the end of a memory buffer. More... | |
EXTERNRT int | rtxMemBufCut (OSRTMEMBUF *pMemBuf, OSSIZE fromOffset, OSSIZE nbytes) |
This function cuts off the part of memory buffer. More... | |
EXTERNRT void | rtxMemBufFree (OSRTMEMBUF *pMemBuf) |
This function frees the memory buffer. More... | |
EXTERNRT OSOCTET * | rtxMemBufGetData (const OSRTMEMBUF *pMemBuf, int *length) |
This function returns the pointer to the used part of a memory buffer. More... | |
EXTERNRT OSOCTET * | rtxMemBufGetDataExt (const OSRTMEMBUF *pMemBuf, OSSIZE *length) |
This function returns the pointer to the used part of a memory buffer. More... | |
EXTERNRT OSSIZE | rtxMemBufGetDataLen (const OSRTMEMBUF *pMemBuf) |
This function returns the length of the used part of a memory buffer. More... | |
EXTERNRT void | rtxMemBufInit (OSCTXT *pCtxt, OSRTMEMBUF *pMemBuf, OSSIZE segsize) |
This function initializes a memory buffer structure. More... | |
EXTERNRT void | rtxMemBufInitBuffer (OSCTXT *pCtxt, OSRTMEMBUF *pMemBuf, OSOCTET *buf, OSSIZE bufsize, OSSIZE segsize) |
This function assigns a static buffer to the memory buffer structure. More... | |
EXTERNRT int | rtxMemBufPreAllocate (OSRTMEMBUF *pMemBuf, OSSIZE nbytes) |
This function allocates a buffer with a predetermined amount of space. More... | |
EXTERNRT void | rtxMemBufReset (OSRTMEMBUF *pMemBuf) |
This function resets the memory buffer structure. More... | |
EXTERNRT int | rtxMemBufSet (OSRTMEMBUF *pMemBuf, OSOCTET value, OSSIZE nbytes) |
This function sets part of a memory buffer to a specified octet value. More... | |
EXTERNRT OSBOOL | rtxMemBufSetExpandable (OSRTMEMBUF *pMemBuf, OSBOOL isExpandable) |
This function sets "isExpandable" flag for the memory buffer object. More... | |
EXTERNRT OSBOOL | rtxMemBufSetUseSysMem (OSRTMEMBUF *pMemBuf, OSBOOL value) |
This function sets a flag to indicate that system memory management should be used instead of the custom memory manager. More... | |
EXTERNRT OSSIZE | rtxMemBufTrimW (OSRTMEMBUF *pMemBuf) |
This function trims white space of the memory buffer. More... | |