Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetActiveTableUID

Retrieve the tableUID, given a table handle.

Declaration

CTDBRET ctdbGetActiveTableUID(CTHANDLE Handle, pULONG puid)

Description

ctdbGetActiveTableUID() retrieves the tableUID, given the Table Handle. Use ctdbGetTableUID() to retrieve the tableUID, given the table name. Use ctdbFindTableByUID() to locate a table in a database by its unique identifier.

  • Handle [in] the Table Handle.
  • puid [out] the table unique identifier.

Returns

ctdbGetActiveTableUID() returns CTDBRET_OK on success, or FairCom DB API error on failure.

See also

ctdbAllocTable(), ctdbFindTableByUID(), ctdbGetTableUID()

TOCIndex