Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetRecord

Retrieve the record handle from the table's active record list.

Note: ctdbGetRecord() is a specific-use function to retrieve a record handle from the internal table active record list. If you are simply trying to read a record, ctdbReadRecord() is a more commonly used function

Declaration

CTHANDLE ctdbGetRecord(CTHANDLE Handle, NINT index)

Description

ctdbGetRecord() retrieves the record handle from the table's active record list.

  • Handle [in] - the Table Handle.
  • index [in] - the Nth active record to return.

Returns

ctdbGetRecord() returns the record handle on success, or NULL on error.

See also

ctdbReadRecord(), ctdbAllocRecord(), ctdbGetDatabaseHandle(), ctdbGetFieldHandle()

TOCIndex