Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetTableNbr

Return the table index number in the database's active table list.

Declaration

NINT ctdbGetTableNbr(CTHANDLE Handle)

  • Handle [in] Table Handle.

Description

ctdbGetTableNbr() retrieves the table index number in the database's active table list. Given the index number, the table handle may be retrieved using ctdbGetTable().

Returns

ctdbGetTableNbr() returns the table index number or -1 on error

See also

ctdbGetTableName(), ctdbGetTable()

TOCIndex