XEnableAccessControl

Syntax

XEnableAccessControl(display)
      Display *display;

Arguments

display Specifies the connection to the X server.

Description

The XEnableAccessControl() function enables the use of the access control list at each connection setup.

XEnableAccessControl() can generate a BadAccess error.

Diagnostics

BadAccess A client attempted to free a color map entry that it did not already allocate.
BadAccess A client attempted to store into a read-only color map entry.

See also

XAddHost(), XAddHosts(), XDisableAccessControl(), XFree(), XListHosts(), XRemoveHost(), XRemoveHosts(), XSetAccessControl(), "Changing, Enabling, or Disabling Access Control".
Christophe Tronche, ch@tronche.com