Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetIndexHandle

Retrieve the index handle.

Declaration

CTHANDLE ctdbGetIndexHandle(CTHANDLE Handle)

Description

ctdbGetIndexHandle() retrieves the index handle. To allocate an index handle, use ctdbAllocIndex(). To retrieve the index handle given the table and index number, use ctdbGetIndex().

  • Handle [in] may be an index handle, or the segment handle.

Returns

ctdbGetIndexHandle() returns the index handle or NULL on failure.

See also

ctdbAllocSegment(), ctdbGetFieldHandle(), ctdbAllocIndex(), ctdbGetIndex()

TOCIndex