2004-06-01 23:09:25 +02:00
|
|
|
/************************************************************
|
|
|
|
|
2009-09-02 23:56:52 +02:00
|
|
|
Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
|
2004-06-01 23:09:25 +02:00
|
|
|
|
|
|
|
Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
|
documentation for any purpose is hereby granted without fee, provided that
|
|
|
|
this permission notice appear in supporting documentation. This permission
|
|
|
|
notice shall be included in all copies or substantial portions of the
|
|
|
|
Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
|
|
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
|
|
|
********************************************************/
|
|
|
|
|
|
|
|
#ifndef _XACESTR_H
|
|
|
|
#define _XACESTR_H
|
|
|
|
|
2008-02-06 03:06:05 +01:00
|
|
|
#include "dix.h"
|
2004-06-01 23:09:25 +02:00
|
|
|
#include "resource.h"
|
|
|
|
#include "extnsionst.h"
|
2008-02-06 03:06:05 +01:00
|
|
|
#include "window.h"
|
|
|
|
#include "input.h"
|
|
|
|
#include "property.h"
|
2007-03-21 19:39:00 +01:00
|
|
|
#include "selection.h"
|
2004-06-01 23:09:25 +02:00
|
|
|
#include "xace.h"
|
|
|
|
|
|
|
|
/* XACE_CORE_DISPATCH */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
2007-04-17 22:01:56 +02:00
|
|
|
int status;
|
2004-06-01 23:09:25 +02:00
|
|
|
} XaceCoreDispatchRec;
|
|
|
|
|
|
|
|
/* XACE_RESOURCE_ACCESS */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
XID id;
|
|
|
|
RESTYPE rtype;
|
|
|
|
pointer res;
|
2007-09-05 17:18:36 +02:00
|
|
|
RESTYPE ptype;
|
|
|
|
pointer parent;
|
|
|
|
Mask access_mode;
|
2007-04-17 22:01:56 +02:00
|
|
|
int status;
|
2004-06-01 23:09:25 +02:00
|
|
|
} XaceResourceAccessRec;
|
|
|
|
|
|
|
|
/* XACE_DEVICE_ACCESS */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
DeviceIntPtr dev;
|
2007-08-28 21:10:20 +02:00
|
|
|
Mask access_mode;
|
2007-04-17 22:01:56 +02:00
|
|
|
int status;
|
2004-06-01 23:09:25 +02:00
|
|
|
} XaceDeviceAccessRec;
|
|
|
|
|
|
|
|
/* XACE_PROPERTY_ACCESS */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
WindowPtr pWin;
|
2008-02-29 23:55:31 +01:00
|
|
|
PropertyPtr *ppProp;
|
2004-06-01 23:09:25 +02:00
|
|
|
Mask access_mode;
|
2007-04-17 22:01:56 +02:00
|
|
|
int status;
|
2004-06-01 23:09:25 +02:00
|
|
|
} XacePropertyAccessRec;
|
|
|
|
|
2007-08-29 20:16:46 +02:00
|
|
|
/* XACE_SEND_ACCESS */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
DeviceIntPtr dev;
|
|
|
|
WindowPtr pWin;
|
|
|
|
xEventPtr events;
|
|
|
|
int count;
|
|
|
|
int status;
|
|
|
|
} XaceSendAccessRec;
|
|
|
|
|
|
|
|
/* XACE_RECEIVE_ACCESS */
|
2004-06-01 23:09:25 +02:00
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
WindowPtr pWin;
|
2007-08-29 20:16:46 +02:00
|
|
|
xEventPtr events;
|
|
|
|
int count;
|
2007-04-17 22:01:56 +02:00
|
|
|
int status;
|
2007-08-29 20:16:46 +02:00
|
|
|
} XaceReceiveAccessRec;
|
2004-06-01 23:09:25 +02:00
|
|
|
|
2007-08-16 16:44:51 +02:00
|
|
|
/* XACE_CLIENT_ACCESS */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
ClientPtr target;
|
|
|
|
Mask access_mode;
|
|
|
|
int status;
|
|
|
|
} XaceClientAccessRec;
|
|
|
|
|
2007-03-28 19:00:03 +02:00
|
|
|
/* XACE_EXT_DISPATCH */
|
2004-06-01 23:09:25 +02:00
|
|
|
/* XACE_EXT_ACCESS */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
ExtensionEntry *ext;
|
2007-10-17 19:51:11 +02:00
|
|
|
Mask access_mode;
|
2007-04-17 22:01:56 +02:00
|
|
|
int status;
|
2004-06-01 23:09:25 +02:00
|
|
|
} XaceExtAccessRec;
|
|
|
|
|
2007-08-15 20:14:25 +02:00
|
|
|
/* XACE_SERVER_ACCESS */
|
2004-06-01 23:09:25 +02:00
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
Mask access_mode;
|
2007-04-17 22:01:56 +02:00
|
|
|
int status;
|
2007-08-15 20:14:25 +02:00
|
|
|
} XaceServerAccessRec;
|
2004-06-01 23:09:25 +02:00
|
|
|
|
2007-03-21 19:39:00 +01:00
|
|
|
/* XACE_SELECTION_ACCESS */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
2008-02-29 23:55:31 +01:00
|
|
|
Selection **ppSel;
|
2007-03-21 22:01:26 +01:00
|
|
|
Mask access_mode;
|
2007-04-17 22:01:56 +02:00
|
|
|
int status;
|
2007-03-21 19:39:00 +01:00
|
|
|
} XaceSelectionAccessRec;
|
|
|
|
|
2007-08-15 20:14:25 +02:00
|
|
|
/* XACE_SCREEN_ACCESS */
|
|
|
|
/* XACE_SCREENSAVER_ACCESS */
|
2004-06-01 23:09:25 +02:00
|
|
|
typedef struct {
|
2007-08-06 15:16:30 +02:00
|
|
|
ClientPtr client;
|
|
|
|
ScreenPtr screen;
|
|
|
|
Mask access_mode;
|
2007-04-17 22:01:56 +02:00
|
|
|
int status;
|
2007-08-06 15:16:30 +02:00
|
|
|
} XaceScreenAccessRec;
|
2004-06-01 23:09:25 +02:00
|
|
|
|
|
|
|
/* XACE_AUTH_AVAIL */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
XID authId;
|
|
|
|
} XaceAuthAvailRec;
|
|
|
|
|
2006-08-26 00:17:01 +02:00
|
|
|
/* XACE_KEY_AVAIL */
|
|
|
|
typedef struct {
|
|
|
|
xEventPtr event;
|
|
|
|
DeviceIntPtr keybd;
|
|
|
|
int count;
|
|
|
|
} XaceKeyAvailRec;
|
|
|
|
|
|
|
|
/* XACE_AUDIT_BEGIN */
|
|
|
|
/* XACE_AUDIT_END */
|
|
|
|
typedef struct {
|
|
|
|
ClientPtr client;
|
|
|
|
int requestResult;
|
|
|
|
} XaceAuditRec;
|
|
|
|
|
2004-06-01 23:09:25 +02:00
|
|
|
#endif /* _XACESTR_H */
|