Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetIndexByName

Retrieve the index handle given the index name

Declaration

CTHANDLE ctdbGetIndexByName(CTHANDLE Handle, pTEXT name)

Description

ctdbGetIndexByName() retrieves the index handle given the index name.

  • Handle [in] the Table Handle.
  • name [in] the index name.

Returns

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

See also

ctdbGetIndex(), ctdbGetIndexByUID(), ctdbGetIndexNbrByName()

TOCIndex