~ubuntu-branches/ubuntu/feisty/xorg-server/feisty

« back to all changes in this revision

Viewing changes to Xext/xacestr.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher, Timo Aaltonen
  • Date: 2007-02-26 09:36:38 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070226093638-z7nq1i01gcuujj06
Tags: 2:1.2.0-3ubuntu1
* Don't drop 42_build_int10_submodules.diff, it's useful
* 019_ubuntu_enable_composite.diff:
  - enable composite
* debian/control:
  - fixed Maintainer email
* debian/xserver-xorg-core.install:
  - list ioport, gtf, pcitweak and scanpci 
    and manpages for scanpci, gtf, pcitweak

[ Timo Aaltonen ]
* Merge with Debian, remaining changes:
  - debian/rules:
    + build using -fno-stack-protector
    + --with-os-vendor=Ubuntu
  - debian/control:
    + don't Conflict with xserver-xorg-video
  - refreshed and renamed patches
    102_ubuntu_sharevts_load_cpu.patch
    104_fedora_init_origins_fix.patch
    106_ubuntu_fpic_libxf86config.patch
    114_fedora_no_composite_in_xnest.patch
    121_only_switch_vt_when_active.diff
    124_fix-pdripriv_null_deref.patch
  - dropped for now:
    42_build_int10_submodules.diff - causes "some regression"
* dropped patches (comments from Michel Daenzer):
  - 107_fedora_dont_backfill_bg_none.patch
    "Breaks X semantics and thus can't go in upstream. Apps/toolkits
     need to be fixed not to use background none windows."
  - 108_fedora_gl_include_inferiors.patch
    "Breaks GLX semantics and should no longer be necessary now that
     the GLX compositing managers default to using the Composite
     Overlay Window."
  - 120_fedora_disable_offscreen_pixmaps.diff
    "Last time I looked at this, it was a gross hack to work around XAA
     deficiencies in offscreen pixmap handling, which makes the server
     die immediately when trying to use GLX_EXT_texture_from_pixmap
     with EXA, due to calling XAA functions without checking it's
     active or even loaded."
* debian/control:
  - set Conflicts: xkb-data (<< 0.9), since xkb-path is
    different from previous releases
* debian/patches/125_randr-version-supported.diff:
  - The server supports protocol 1.1, make sure we use it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/************************************************************
 
2
 
 
3
Author: Eamon Walsh <ewalsh@epoch.ncsc.mil>
 
4
 
 
5
Permission to use, copy, modify, distribute, and sell this software and its
 
6
documentation for any purpose is hereby granted without fee, provided that
 
7
this permission notice appear in supporting documentation.  This permission
 
8
notice shall be included in all copies or substantial portions of the
 
9
Software.
 
10
 
 
11
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
12
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
13
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 
14
AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 
15
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 
16
CONNECTION 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 */
 
33
typedef struct {
 
34
    ClientPtr client;
 
35
    int rval;
 
36
} XaceCoreDispatchRec;
 
37
 
 
38
/* XACE_RESOURCE_ACCESS */
 
39
/* XACE_RESOURCE_CREATE */
 
40
typedef 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 */
 
50
typedef struct {
 
51
    ClientPtr client;
 
52
    DeviceIntPtr dev;
 
53
    Bool fromRequest;
 
54
    int rval;
 
55
} XaceDeviceAccessRec;
 
56
 
 
57
/* XACE_PROPERTY_ACCESS */
 
58
typedef struct {
 
59
    ClientPtr client;
 
60
    WindowPtr pWin;
 
61
    Atom propertyName;
 
62
    Mask access_mode;
 
63
    int rval;
 
64
} XacePropertyAccessRec;
 
65
 
 
66
/* XACE_DRAWABLE_ACCESS */
 
67
typedef struct {
 
68
    ClientPtr client;
 
69
    DrawablePtr pDraw;
 
70
    int rval;
 
71
} XaceDrawableAccessRec;
 
72
 
 
73
/* XACE_MAP_ACCESS */
 
74
/* XACE_BACKGRND_ACCESS */
 
75
typedef struct {
 
76
    ClientPtr client;
 
77
    WindowPtr pWin;
 
78
    int rval;
 
79
} XaceMapAccessRec;
 
80
 
 
81
/* XACE_EXT_DISPATCH_ACCESS */
 
82
/* XACE_EXT_ACCESS */
 
83
typedef struct {
 
84
    ClientPtr client;
 
85
    ExtensionEntry *ext;
 
86
    int rval;
 
87
} XaceExtAccessRec;
 
88
 
 
89
/* XACE_HOSTLIST_ACCESS */
 
90
typedef struct {
 
91
    ClientPtr client;
 
92
    Mask access_mode;
 
93
    int rval;
 
94
} XaceHostlistAccessRec;
 
95
 
 
96
/* XACE_SITE_POLICY */
 
97
typedef struct {
 
98
    char *policyString;
 
99
    int len;
 
100
    int rval;
 
101
} XaceSitePolicyRec;
 
102
 
 
103
/* XACE_DECLARE_EXT_SECURE */
 
104
typedef struct {
 
105
    ExtensionEntry *ext;
 
106
    Bool secure;
 
107
} XaceDeclareExtSecureRec;
 
108
 
 
109
/* XACE_AUTH_AVAIL */
 
110
typedef struct {
 
111
    ClientPtr client;
 
112
    XID authId;
 
113
} XaceAuthAvailRec;
 
114
 
 
115
/* XACE_KEY_AVAIL */
 
116
typedef struct {
 
117
    xEventPtr event;
 
118
    DeviceIntPtr keybd;
 
119
    int count;
 
120
} XaceKeyAvailRec;
 
121
 
 
122
/* XACE_WINDOW_INIT */
 
123
typedef struct {
 
124
    ClientPtr client;
 
125
    WindowPtr pWin;
 
126
} XaceWindowRec;
 
127
 
 
128
/* XACE_AUDIT_BEGIN */
 
129
/* XACE_AUDIT_END */
 
130
typedef struct {
 
131
    ClientPtr client;
 
132
    int requestResult;
 
133
} XaceAuditRec;
 
134
 
 
135
#endif /* _XACESTR_H */