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