Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetFieldName

Change the field name

Declaration

CTDBRET ctdbSetFieldName(CTHANDLE Handle, pTEXT name)

Description

ctdbSetFieldName() changes the field name. Use ctdbGetFieldName() to retrieve the field name.

  • Handle [in] the Field Handle.
  • name [in] the new field name.

Returns

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

See also

ctdbGetFieldName()

TOCIndex