Product Documentation

c-treeDB API 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 c-treeDB API error on failure.

See also

ctdbAllocTable(), ctdbFindTableByUID(), ctdbGetTableUID()

TOCIndex