VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/xacestr.h@ 78293

Last change on this file since 78293 was 43272, checked in by vboxsync, 12 years ago

Additions/x11: more original X server headers.

  • Property svn:eol-style set to native
File size: 2.9 KB
Line 
1/************************************************************
2
3Author: Eamon Walsh <[email protected]>
4
5Permission to use, copy, modify, distribute, and sell this software and its
6documentation for any purpose is hereby granted without fee, provided that
7this permission notice appear in supporting documentation. This permission
8notice shall be included in all copies or substantial portions of the
9Software.
10
11THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
15AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
16CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17
18********************************************************/
19
20#ifndef _XACESTR_H
21#define _XACESTR_H
22
23#include <X11/Xdefs.h>
24#include "dixstruct.h"
25#include "resource.h"
26#include "extnsionst.h"
27#include "gcstruct.h"
28#include "windowstr.h"
29#include "inputstr.h"
30#include "xace.h"
31
32/* XACE_CORE_DISPATCH */
33typedef struct {
34 ClientPtr client;
35 int rval;
36} XaceCoreDispatchRec;
37
38/* XACE_RESOURCE_ACCESS */
39/* XACE_RESOURCE_CREATE */
40typedef struct {
41 ClientPtr client;
42 XID id;
43 RESTYPE rtype;
44 Mask access_mode;
45 pointer res;
46 int rval;
47} XaceResourceAccessRec;
48
49/* XACE_DEVICE_ACCESS */
50typedef struct {
51 ClientPtr client;
52 DeviceIntPtr dev;
53 Bool fromRequest;
54 int rval;
55} XaceDeviceAccessRec;
56
57/* XACE_PROPERTY_ACCESS */
58typedef struct {
59 ClientPtr client;
60 WindowPtr pWin;
61 Atom propertyName;
62 Mask access_mode;
63 int rval;
64} XacePropertyAccessRec;
65
66/* XACE_DRAWABLE_ACCESS */
67typedef struct {
68 ClientPtr client;
69 DrawablePtr pDraw;
70 int rval;
71} XaceDrawableAccessRec;
72
73/* XACE_MAP_ACCESS */
74/* XACE_BACKGRND_ACCESS */
75typedef struct {
76 ClientPtr client;
77 WindowPtr pWin;
78 int rval;
79} XaceMapAccessRec;
80
81/* XACE_EXT_DISPATCH_ACCESS */
82/* XACE_EXT_ACCESS */
83typedef struct {
84 ClientPtr client;
85 ExtensionEntry *ext;
86 int rval;
87} XaceExtAccessRec;
88
89/* XACE_HOSTLIST_ACCESS */
90typedef struct {
91 ClientPtr client;
92 Mask access_mode;
93 int rval;
94} XaceHostlistAccessRec;
95
96/* XACE_SITE_POLICY */
97typedef struct {
98 char *policyString;
99 int len;
100 int rval;
101} XaceSitePolicyRec;
102
103/* XACE_DECLARE_EXT_SECURE */
104typedef struct {
105 ExtensionEntry *ext;
106 Bool secure;
107} XaceDeclareExtSecureRec;
108
109/* XACE_AUTH_AVAIL */
110typedef struct {
111 ClientPtr client;
112 XID authId;
113} XaceAuthAvailRec;
114
115/* XACE_KEY_AVAIL */
116typedef struct {
117 xEventPtr event;
118 DeviceIntPtr keybd;
119 int count;
120} XaceKeyAvailRec;
121
122/* XACE_WINDOW_INIT */
123typedef struct {
124 ClientPtr client;
125 WindowPtr pWin;
126} XaceWindowRec;
127
128/* XACE_AUDIT_BEGIN */
129/* XACE_AUDIT_END */
130typedef struct {
131 ClientPtr client;
132 int requestResult;
133} XaceAuditRec;
134
135#endif /* _XACESTR_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette