ctdbGetRecordBuffer
Return a pointer to the current record buffer.
Declaration
pVOID ctdbGetRecordBuffer(CTHANDLE Handle)
Description
ctdbGetRecordBuffer() returns a pointer to the current record buffer.
CAUTION: If the record buffer was not set as CTRECBUF_STATIC, ctdb API calls modifying this record handle may cause the internal record buffer to be reallocated. Previously returned record buffer pointers would then reference invalid memory (a dangling pointer).
Returns
ctdbGetRecordBuffer() returns the record buffer, or NULL on error
See also
ctdbAllocRecord(), ctdbGetRecordLength()