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