XEnableAccessControl() XEnableAccessControl()
Name
XEnableAccessControl - use access control list to allow or deny connection requests.
Synopsis
XEnableAccessControl(display)
Display *display;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
Description
XEnableAccessControl() instructs the server to use the host access list to determine whether access should be granted to clients seeking a
connection with the server.
By default, the host access list is used. If access has not been disabled with XDisableAccessControl() or XSetAccessControl(), this rou-
tine does nothing.
This routine can only be called by clients running on the same host as the server.
For more information, see Volume One, Chapter 15, Other Programming Techniques.
Errors
BadAccess
See Also
XAddHost(), XAddHosts(), XDisableAccessControl(), XListHosts(), XRemoveHost(), XRemoveHosts(), XSetAccessControl().
Xlib - Host Access XEnableAccessControl()