Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetTablePassword

Set the table password.

Declaration

CTDBRET ctdbSetTablePassword(CTHANDLE Handle, pTEXT password)

Description

ctdbSetTablePassword() sets the table password. To retrieve the table password, use ctdbGetTablePassword().

  • Handle [in] the Table Handle.
  • Password [in] the table password.

Returns

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

See also

ctdbAllocTable(), ctdbGetTablePassword()

TOCIndex