Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetTablePermission

Set table permission mask.

Declaration

CTDBRET ctdbSetTablePermission(CTHANDLE Handle, LONG permmask)

Description

ctdbSetTablePermission() sets the table permission mask. To retrieve the table permission mask, use ctdbGetTablePermission().

  • Handle [in] the Table Handle.
  • permmask [in] the Table Permission mask. The valid values for permmask are presented in c-treeDB API definitions.

Returns

ctdbSetTablePermission() returns CTDBRET_OK on success, or c-treeDB APIC API error on failure.

See also

ctdbAllocTable(), ctdbGetTablePermission()

TOCIndex