Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetIndexExtension

Set table index file name extension

Declaration

CTDBRET ctdbSetIndexExtension(CTHANDLE Handle, cpTEXT ext)

Description

ctdbSetIndexExtension() sets the index table file name extension. The default value for the index extension is .idx. To retrieve the index table file name extension, use ctdbGetIndexExtension().

  • Handle [in] the Table Handle.
  • exit [in] the index table file name extension.

Returns

ctdbSetIndexExtension() returns CTDBRET_OK on success, or c-treeDB API C API error on failure.

See also

ctdbAllocTable(), ctdbGetIndexExtension()

TOCIndex