ctdbGetVTableInfoFromTable
ctdbGetVTableInfoFromTable() lists virtual tables defined in a host file.
Declaration
VOID ctdbGetVTableInfoFromTable(pCTDBVTABLEINFO VtableRes)
Description
There may be a need to list the virtual tables defined in a host file without looking at the FairCom DB API database dictionary (for example, the dictionary is missing). This information can be reconstructed with this function.
The hTable and data_elements fields are populated by ctdbAllocVTableInfo(). data and actual_elements are populated by ctdbGetVTableInfoFromTable().
Note: ctdbFreeVTableInfo() should be used in order to properly free memory allocated for CTDBVTABLEINFO.
Return Values
ctdbGetVTableInfoFromTable() does not return a value.
See Also
ctdbAddMRTTable(), ctdbAddVTableResource(), ctdbAllocVTableInfo(), ctdbCreateMRTTable(), ctdbFreeVTableInfo(), ctdbGetVTableNumber(), ctdbIsVTable(), ctdbRemoveVTableResource(), ctdbSetMRTTableFilter()