ctdbGetTableUID
Retrieve the table Unique Identifier given a database handle and a table name.
Declaration
CTDBRET ctdbGetTableUID(CTHANDLE Handle, pTEXT Name, pULONG puid)
Description
ctdbGetTableUID() retrieves the table unique identifier, UID, given the table name. Use ctdbGetActiveTableUID() to retrieve the table UID, given the Table Handle. Use ctdbFindTableByUID() to locate a table in a database by its unique identifier.
Returns
ctdbGetTableUID() returns CTDBRET_OK on success, or c-treeDB API error on failure.
See also
ctdbAllocDatabase(), ctdbFindTableByUID(), ctdbGetActiveTableUID()