ctdbAllocRecord
Allocate a new c-treeDB API C API record handle.
Declaration
CTHANDLE ctdbAllocRecord(CTHANDLE Handle)
Description
ctdbAllocRecord() allocates memory and initialize a new record handle. Before any operation on records can take place, the application must allocate a record handle.
The record handle is released by calling ctdbFreeRecord(). Do not release the record handle by calling the C runtime library function free.
Returns
ctdbAllocRecord() returns the new allocated handle on success, or NULL on failure.
See also
ctdbAllocTable(), ctdbFreeRecord(), ctdbGetRecordHandle()