Product Documentation

FairCom DB 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 FairCom DB API definitions.

Returns

ctdbSetTablePermission() returns CTDBRET_OK on success, or FairCom DB APIC API error on failure.

See also

ctdbAllocTable(), ctdbGetTablePermission()

TOCIndex