Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetIndex

Retrieve the handle for index identified by IndexNumber.

Declaration

CTHANDLE ctdbGetIndex(CTHANDLE Handle, NINT IndexNumber)

Description

ctdbGetIndex retrieves the handle for index identified by index number. To retrieve the index handle given the segment handle, use ctdbGetIndexHandle().

  • Handle [in] the table handle.
  • IndexNumber [in] the number of the index in the table.

Returns

ctdbGetIndex() returns index handle on success, or NULL on failure.

See also

ctdbAllocTable(), ctdbGetIndexHandle(), ctdbGetIndexNbr()

TOCIndex