14642e01fSmrg/*********************************************************** 24642e01fSmrg 34642e01fSmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 44642e01fSmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 54642e01fSmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 64642e01fSmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 74642e01fSmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 84642e01fSmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 94642e01fSmrg 104642e01fSmrg******************************************************************/ 114642e01fSmrg 124642e01fSmrg#ifndef DIX_ACCESS_H 134642e01fSmrg#define DIX_ACCESS_H 144642e01fSmrg 154642e01fSmrg/* These are the access modes that can be passed in the last parameter 164642e01fSmrg * to several of the dix lookup functions. They were originally part 174642e01fSmrg * of the Security extension, now used by XACE. 184642e01fSmrg * 194642e01fSmrg * You can or these values together to indicate multiple modes 204642e01fSmrg * simultaneously. 214642e01fSmrg */ 224642e01fSmrg 2335c4bbdfSmrg#define DixUnknownAccess 0 /* don't know intentions */ 2435c4bbdfSmrg#define DixReadAccess (1<<0) /* inspecting the object */ 2535c4bbdfSmrg#define DixWriteAccess (1<<1) /* changing the object */ 2635c4bbdfSmrg#define DixDestroyAccess (1<<2) /* destroying the object */ 2735c4bbdfSmrg#define DixCreateAccess (1<<3) /* creating the object */ 2835c4bbdfSmrg#define DixGetAttrAccess (1<<4) /* get object attributes */ 2935c4bbdfSmrg#define DixSetAttrAccess (1<<5) /* set object attributes */ 304642e01fSmrg#define DixListPropAccess (1<<6) /* list properties of object */ 3135c4bbdfSmrg#define DixGetPropAccess (1<<7) /* get properties of object */ 3235c4bbdfSmrg#define DixSetPropAccess (1<<8) /* set properties of object */ 3335c4bbdfSmrg#define DixGetFocusAccess (1<<9) /* get focus of object */ 3435c4bbdfSmrg#define DixSetFocusAccess (1<<10) /* set focus of object */ 3535c4bbdfSmrg#define DixListAccess (1<<11) /* list objects */ 3635c4bbdfSmrg#define DixAddAccess (1<<12) /* add object */ 3735c4bbdfSmrg#define DixRemoveAccess (1<<13) /* remove object */ 3835c4bbdfSmrg#define DixHideAccess (1<<14) /* hide object */ 3935c4bbdfSmrg#define DixShowAccess (1<<15) /* show object */ 4035c4bbdfSmrg#define DixBlendAccess (1<<16) /* mix contents of objects */ 4135c4bbdfSmrg#define DixGrabAccess (1<<17) /* exclusive access to object */ 4235c4bbdfSmrg#define DixFreezeAccess (1<<18) /* freeze status of object */ 4335c4bbdfSmrg#define DixForceAccess (1<<19) /* force status of object */ 4435c4bbdfSmrg#define DixInstallAccess (1<<20) /* install object */ 4535c4bbdfSmrg#define DixUninstallAccess (1<<21) /* uninstall object */ 4635c4bbdfSmrg#define DixSendAccess (1<<22) /* send to object */ 4735c4bbdfSmrg#define DixReceiveAccess (1<<23) /* receive from object */ 4835c4bbdfSmrg#define DixUseAccess (1<<24) /* use object */ 4935c4bbdfSmrg#define DixManageAccess (1<<25) /* manage object */ 5035c4bbdfSmrg#define DixDebugAccess (1<<26) /* debug object */ 5135c4bbdfSmrg#define DixBellAccess (1<<27) /* audible sound */ 526747b715Smrg#define DixPostAccess (1<<28) /* post or follow-up call */ 534642e01fSmrg 5435c4bbdfSmrg#endif /* DIX_ACCESS_H */ 55