~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/include/dixevents.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/Xserver/include/dixevents.h,v 3.4 2001/09/04 14:03:27 dawes Exp $ */
 
2
/************************************************************
 
3
 
 
4
Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
 
5
 
 
6
                        All Rights Reserved
 
7
 
 
8
Permission to use, copy, modify, and distribute this software and its
 
9
documentation for any purpose and without fee is hereby granted,
 
10
provided that the above copyright notice appear in all copies and that
 
11
both that copyright notice and this permission notice appear in
 
12
supporting documentation, and that the name of the above listed
 
13
copyright holder(s) not be used in advertising or publicity pertaining
 
14
to distribution of the software without specific, written prior
 
15
permission.
 
16
 
 
17
THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
 
18
TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 
19
AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
 
20
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 
21
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 
22
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 
23
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
24
 
 
25
********************************************************/
 
26
 
 
27
#ifndef DIXEVENTS_H
 
28
#define DIXEVENTS_H
 
29
 
 
30
extern void
 
31
SetCriticalEvent(
 
32
#if NeedFunctionPrototypes
 
33
        int                    /* event */
 
34
#endif
 
35
        );
 
36
 
 
37
extern CursorPtr
 
38
GetSpriteCursor(
 
39
#if NeedFunctionPrototypes
 
40
        void
 
41
#endif
 
42
        );
 
43
 
 
44
extern int
 
45
ProcAllowEvents(
 
46
#if NeedFunctionPrototypes
 
47
        ClientPtr              /* client */
 
48
#endif
 
49
        );
 
50
 
 
51
extern int
 
52
MaybeDeliverEventsToClient(
 
53
#if NeedFunctionPrototypes
 
54
        WindowPtr              /* pWin */,
 
55
        xEvent *               /* pEvents */,
 
56
        int                    /* count */,
 
57
        Mask                   /* filter */,
 
58
        ClientPtr              /* dontClient */
 
59
#endif
 
60
        );
 
61
 
 
62
extern int
 
63
ProcWarpPointer(
 
64
#if NeedFunctionPrototypes
 
65
        ClientPtr              /* client */
 
66
#endif
 
67
        );
 
68
 
 
69
#if 0
 
70
extern void
 
71
#ifdef XKB
 
72
CoreProcessKeyboardEvent (
 
73
#else
 
74
ProcessKeyboardEvent (
 
75
#endif
 
76
#if NeedFunctionPrototypes
 
77
        xEvent *               /* xE */,
 
78
        DeviceIntPtr           /* keybd */,
 
79
        int                    /* count */
 
80
#endif
 
81
        );
 
82
 
 
83
extern void
 
84
#ifdef XKB
 
85
CoreProcessPointerEvent (
 
86
#else
 
87
ProcessPointerEvent (
 
88
#endif
 
89
#if NeedFunctionPrototypes
 
90
        xEvent *               /* xE */,
 
91
        DeviceIntPtr           /* mouse */,
 
92
        int                    /* count */
 
93
#endif
 
94
        );
 
95
#endif
 
96
 
 
97
extern int
 
98
EventSelectForWindow(
 
99
#if NeedFunctionPrototypes
 
100
        WindowPtr              /* pWin */,
 
101
        ClientPtr              /* client */,
 
102
        Mask                   /* mask */
 
103
#endif
 
104
        );
 
105
 
 
106
extern int
 
107
EventSuppressForWindow(
 
108
#if NeedFunctionPrototypes
 
109
        WindowPtr              /* pWin */,
 
110
        ClientPtr              /* client */,
 
111
        Mask                   /* mask */,
 
112
        Bool *                 /* checkOptional */
 
113
#endif
 
114
        );
 
115
 
 
116
extern int
 
117
ProcSetInputFocus(
 
118
#if NeedFunctionPrototypes
 
119
        ClientPtr              /* client */
 
120
#endif
 
121
        );
 
122
 
 
123
extern int
 
124
ProcGetInputFocus(
 
125
#if NeedFunctionPrototypes
 
126
        ClientPtr              /* client */
 
127
#endif
 
128
        );
 
129
 
 
130
extern int
 
131
ProcGrabPointer(
 
132
#if NeedFunctionPrototypes
 
133
        ClientPtr              /* client */
 
134
#endif
 
135
        );
 
136
 
 
137
extern int
 
138
ProcChangeActivePointerGrab(
 
139
#if NeedFunctionPrototypes
 
140
        ClientPtr              /* client */
 
141
#endif
 
142
        );
 
143
 
 
144
extern int
 
145
ProcUngrabPointer(
 
146
#if NeedFunctionPrototypes
 
147
        ClientPtr              /* client */
 
148
#endif
 
149
        );
 
150
 
 
151
extern int
 
152
ProcGrabKeyboard(
 
153
#if NeedFunctionPrototypes
 
154
        ClientPtr              /* client */
 
155
#endif
 
156
        );
 
157
 
 
158
extern int
 
159
ProcUngrabKeyboard(
 
160
#if NeedFunctionPrototypes
 
161
        ClientPtr              /* client */
 
162
#endif
 
163
        );
 
164
 
 
165
extern int
 
166
ProcQueryPointer(
 
167
#if NeedFunctionPrototypes
 
168
        ClientPtr              /* client */
 
169
#endif
 
170
        );
 
171
 
 
172
extern int
 
173
ProcSendEvent(
 
174
#if NeedFunctionPrototypes
 
175
        ClientPtr              /* client */
 
176
#endif
 
177
        );
 
178
 
 
179
extern int
 
180
ProcUngrabKey(
 
181
#if NeedFunctionPrototypes
 
182
        ClientPtr              /* client */
 
183
#endif
 
184
        );
 
185
 
 
186
extern int
 
187
ProcGrabKey(
 
188
#if NeedFunctionPrototypes
 
189
        ClientPtr              /* client */
 
190
#endif
 
191
        );
 
192
 
 
193
extern int
 
194
ProcGrabButton(
 
195
#if NeedFunctionPrototypes
 
196
        ClientPtr              /* client */
 
197
#endif
 
198
        );
 
199
 
 
200
extern int
 
201
ProcUngrabButton(
 
202
#if NeedFunctionPrototypes
 
203
        ClientPtr              /* client */
 
204
#endif
 
205
        );
 
206
 
 
207
extern int
 
208
ProcRecolorCursor(
 
209
#if NeedFunctionPrototypes
 
210
        ClientPtr              /* client */
 
211
#endif
 
212
        );
 
213
 
 
214
#endif /* DIXEVENTS_H */