Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetDatabaseName

Return the database name.

Declaration

pTEXT ctdbGetDatabaseName(CTHANDLE Handle)

Description

ctdbGetDatabaseName() returns the database name.

  • Handle [in] the Database Handle.

Returns

ctdbGetDatabaseName() returns the database name, or NULL on error.

Example


db_name = ctdbGetDatabaseName(ctdbGetDatabaseHandle(hTable));


See also

ctdbAllocDatabase(), ctdbGetDatabasePath()

TOCIndex