45e9809aff7304721fddb95654901b32195c9c7avboxsync/***********************************************************
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45e9809aff7304721fddb95654901b32195c9c7avboxsyncIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45e9809aff7304721fddb95654901b32195c9c7avboxsyncOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
45e9809aff7304721fddb95654901b32195c9c7avboxsyncAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync******************************************************************/
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifndef DIX_ACCESS_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DIX_ACCESS_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* These are the access modes that can be passed in the last parameter
45e9809aff7304721fddb95654901b32195c9c7avboxsync * to several of the dix lookup functions. They were originally part
45e9809aff7304721fddb95654901b32195c9c7avboxsync * of the Security extension, now used by XACE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * You can or these values together to indicate multiple modes
45e9809aff7304721fddb95654901b32195c9c7avboxsync * simultaneously.
45e9809aff7304721fddb95654901b32195c9c7avboxsync */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixUnknownAccess 0 /* don't know intentions */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixReadAccess (1<<0) /* inspecting the object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixWriteAccess (1<<1) /* changing the object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixDestroyAccess (1<<2) /* destroying the object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixCreateAccess (1<<3) /* creating the object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixGetAttrAccess (1<<4) /* get object attributes */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixSetAttrAccess (1<<5) /* set object attributes */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixListPropAccess (1<<6) /* list properties of object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixGetPropAccess (1<<7) /* get properties of object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixSetPropAccess (1<<8) /* set properties of object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixGetFocusAccess (1<<9) /* get focus of object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixSetFocusAccess (1<<10) /* set focus of object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixListAccess (1<<11) /* list objects */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixAddAccess (1<<12) /* add object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixRemoveAccess (1<<13) /* remove object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixHideAccess (1<<14) /* hide object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixShowAccess (1<<15) /* show object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixBlendAccess (1<<16) /* mix contents of objects */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixGrabAccess (1<<17) /* exclusive access to object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixFreezeAccess (1<<18) /* freeze status of object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixForceAccess (1<<19) /* force status of object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixInstallAccess (1<<20) /* install object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixUninstallAccess (1<<21) /* uninstall object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixSendAccess (1<<22) /* send to object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixReceiveAccess (1<<23) /* receive from object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixUseAccess (1<<24) /* use object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixManageAccess (1<<25) /* manage object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixDebugAccess (1<<26) /* debug object */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixBellAccess (1<<27) /* audible sound */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DixPostAccess (1<<28) /* post or follow-up call */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* DIX_ACCESS_H */