Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetIndexNbr

Retrieve the index number in the table list.

Declaration

CTDBRET ctdbGetIndexNbr(CTHANDLE Handle, pVRLEN pNumber)

Description

ctdbGetIndexNbr() retrieves the index number in the table list, given an index handle. Use ctdbGetSegmentNbr() to retrieve the segment number.

  • Handle [in] the index handle.
  • pNumber [out] the index number.

Returns

ctdbGetIndexNbr() returns CTDBRET_OK on success, or a FairCom DB API error code on failure.

See also

ctdbAllocIndex(), ctdbGetSegmentNbr(), ctdbGetIndexNbrByName(), ctdbGetIndexName()

TOCIndex