~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/7.1/xorg/swaprep.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $XFree86: xc/programs/Xserver/include/swaprep.h,v 3.0 1996/04/15 11:34:34 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 SWAPREP_H
28
 
#define SWAPREP_H 1
29
 
 
30
 
extern void Swap32Write(
31
 
    ClientPtr /* pClient */,
32
 
    int /* size */,
33
 
    CARD32 * /* pbuf */);
34
 
 
35
 
extern void CopySwap32Write(
36
 
    ClientPtr /* pClient */,
37
 
    int /* size */,
38
 
    CARD32 * /* pbuf */);
39
 
 
40
 
extern void CopySwap16Write(
41
 
    ClientPtr /* pClient */,
42
 
    int /* size */,
43
 
    short * /* pbuf */);
44
 
 
45
 
extern void SGenericReply(
46
 
    ClientPtr /* pClient */,
47
 
    int /* size */,
48
 
    xGenericReply * /* pRep */);
49
 
 
50
 
extern void SGetWindowAttributesReply(
51
 
    ClientPtr /* pClient */,
52
 
    int /* size */,
53
 
    xGetWindowAttributesReply * /* pRep */);
54
 
 
55
 
extern void SGetGeometryReply(
56
 
    ClientPtr /* pClient */,
57
 
    int /* size */,
58
 
    xGetGeometryReply * /* pRep */);
59
 
 
60
 
extern void SQueryTreeReply(
61
 
    ClientPtr /* pClient */,
62
 
    int /* size */,
63
 
    xQueryTreeReply * /* pRep */);
64
 
 
65
 
extern void SInternAtomReply(
66
 
    ClientPtr /* pClient */,
67
 
    int /* size */,
68
 
    xInternAtomReply * /* pRep */);
69
 
 
70
 
extern void SGetAtomNameReply(
71
 
    ClientPtr /* pClient */,
72
 
    int /* size */,
73
 
    xGetAtomNameReply * /* pRep */);
74
 
 
75
 
extern void SGetPropertyReply(
76
 
    ClientPtr /* pClient */,
77
 
    int /* size */,
78
 
    xGetPropertyReply * /* pRep */);
79
 
 
80
 
extern void SListPropertiesReply(
81
 
    ClientPtr /* pClient */,
82
 
    int /* size */,
83
 
    xListPropertiesReply * /* pRep */);
84
 
 
85
 
extern void SGetSelectionOwnerReply(
86
 
    ClientPtr /* pClient */,
87
 
    int /* size */,
88
 
    xGetSelectionOwnerReply * /* pRep */);
89
 
 
90
 
extern void SQueryPointerReply(
91
 
    ClientPtr /* pClient */,
92
 
    int /* size */,
93
 
    xQueryPointerReply * /* pRep */);
94
 
 
95
 
extern void SwapTimecoord(
96
 
    xTimecoord * /* pCoord */);
97
 
 
98
 
extern void SwapTimeCoordWrite(
99
 
    ClientPtr /* pClient */,
100
 
    int /* size */,
101
 
    xTimecoord * /* pRep */);
102
 
 
103
 
extern void SGetMotionEventsReply(
104
 
    ClientPtr /* pClient */,
105
 
    int /* size */,
106
 
    xGetMotionEventsReply * /* pRep */);
107
 
 
108
 
extern void STranslateCoordsReply(
109
 
    ClientPtr /* pClient */,
110
 
    int /* size */,
111
 
    xTranslateCoordsReply * /* pRep */);
112
 
 
113
 
extern void SGetInputFocusReply(
114
 
    ClientPtr /* pClient */,
115
 
    int /* size */,
116
 
    xGetInputFocusReply * /* pRep */);
117
 
 
118
 
extern void SQueryKeymapReply(
119
 
    ClientPtr /* pClient */,
120
 
    int /* size */,
121
 
    xQueryKeymapReply * /* pRep */);
122
 
 
123
 
#ifdef LBX
124
 
extern void SwapCharInfo(
125
 
    xCharInfo * /* pInfo */);
126
 
#endif
127
 
 
128
 
#ifdef LBX
129
 
extern void SwapFont(
130
 
    xQueryFontReply * /* pr */,
131
 
    Bool /* hasGlyphs */);
132
 
#endif
133
 
 
134
 
extern void SQueryFontReply(
135
 
    ClientPtr /* pClient */,
136
 
    int /* size */,
137
 
    xQueryFontReply * /* pRep */);
138
 
 
139
 
extern void SQueryTextExtentsReply(
140
 
    ClientPtr /* pClient */,
141
 
    int /* size */,
142
 
    xQueryTextExtentsReply * /* pRep */);
143
 
 
144
 
extern void SListFontsReply(
145
 
    ClientPtr /* pClient */,
146
 
    int /* size */,
147
 
    xListFontsReply * /* pRep */);
148
 
 
149
 
extern void SListFontsWithInfoReply(
150
 
    ClientPtr /* pClient */,
151
 
    int /* size */,
152
 
    xListFontsWithInfoReply * /* pRep */);
153
 
 
154
 
extern void SGetFontPathReply(
155
 
    ClientPtr /* pClient */,
156
 
    int /* size */,
157
 
    xGetFontPathReply * /* pRep */);
158
 
 
159
 
extern void SGetImageReply(
160
 
    ClientPtr /* pClient */,
161
 
    int /* size */,
162
 
    xGetImageReply * /* pRep */);
163
 
 
164
 
extern void SListInstalledColormapsReply(
165
 
    ClientPtr /* pClient */,
166
 
    int /* size */,
167
 
    xListInstalledColormapsReply * /* pRep */);
168
 
 
169
 
extern void SAllocColorReply(
170
 
    ClientPtr /* pClient */,
171
 
    int /* size */,
172
 
    xAllocColorReply * /* pRep */);
173
 
 
174
 
extern void SAllocNamedColorReply(
175
 
    ClientPtr /* pClient */,
176
 
    int /* size */,
177
 
    xAllocNamedColorReply * /* pRep */);
178
 
 
179
 
extern void SAllocColorCellsReply(
180
 
    ClientPtr /* pClient */,
181
 
    int /* size */,
182
 
    xAllocColorCellsReply * /* pRep */);
183
 
 
184
 
extern void SAllocColorPlanesReply(
185
 
    ClientPtr /* pClient */,
186
 
    int /* size */,
187
 
    xAllocColorPlanesReply * /* pRep */);
188
 
 
189
 
extern void SwapRGB(
190
 
    xrgb * /* prgb */);
191
 
 
192
 
extern void SQColorsExtend(
193
 
    ClientPtr /* pClient */,
194
 
    int /* size */,
195
 
    xrgb * /* prgb */);
196
 
 
197
 
extern void SQueryColorsReply(
198
 
    ClientPtr /* pClient */,
199
 
    int /* size */,
200
 
    xQueryColorsReply * /* pRep */);
201
 
 
202
 
extern void SLookupColorReply(
203
 
    ClientPtr /* pClient */,
204
 
    int /* size */,
205
 
    xLookupColorReply * /* pRep */);
206
 
 
207
 
extern void SQueryBestSizeReply(
208
 
    ClientPtr /* pClient */,
209
 
    int /* size */,
210
 
    xQueryBestSizeReply * /* pRep */);
211
 
 
212
 
extern void SListExtensionsReply(
213
 
    ClientPtr /* pClient */,
214
 
    int /* size */,
215
 
    xListExtensionsReply * /* pRep */);
216
 
 
217
 
extern void SGetKeyboardMappingReply(
218
 
    ClientPtr /* pClient */,
219
 
    int /* size */,
220
 
    xGetKeyboardMappingReply * /* pRep */);
221
 
 
222
 
extern void SGetPointerMappingReply(
223
 
    ClientPtr /* pClient */,
224
 
    int /* size */,
225
 
    xGetPointerMappingReply * /* pRep */);
226
 
 
227
 
extern void SGetModifierMappingReply(
228
 
    ClientPtr /* pClient */,
229
 
    int /* size */,
230
 
    xGetModifierMappingReply * /* pRep */);
231
 
 
232
 
extern void SGetKeyboardControlReply(
233
 
    ClientPtr /* pClient */,
234
 
    int /* size */,
235
 
    xGetKeyboardControlReply * /* pRep */);
236
 
 
237
 
extern void SGetPointerControlReply(
238
 
    ClientPtr /* pClient */,
239
 
    int /* size */,
240
 
    xGetPointerControlReply * /* pRep */);
241
 
 
242
 
extern void SGetScreenSaverReply(
243
 
    ClientPtr /* pClient */,
244
 
    int /* size */,
245
 
    xGetScreenSaverReply * /* pRep */);
246
 
 
247
 
extern void SLHostsExtend(
248
 
    ClientPtr /* pClient */,
249
 
    int /* size */,
250
 
    char * /* buf */);
251
 
 
252
 
extern void SListHostsReply(
253
 
    ClientPtr /* pClient */,
254
 
    int /* size */,
255
 
    xListHostsReply * /* pRep */);
256
 
 
257
 
extern void SErrorEvent(
258
 
    xError * /* from */,
259
 
    xError * /* to */);
260
 
 
261
 
extern void SwapConnSetupInfo(
262
 
    char * /* pInfo */,
263
 
    char * /* pInfoTBase */);
264
 
 
265
 
extern void WriteSConnectionInfo(
266
 
    ClientPtr /* pClient */,
267
 
    unsigned long /* size */,
268
 
    char * /* pInfo */);
269
 
 
270
 
extern void SwapConnSetup(
271
 
    xConnSetup * /* pConnSetup */,
272
 
    xConnSetup * /* pConnSetupT */);
273
 
 
274
 
extern void SwapWinRoot(
275
 
    xWindowRoot * /* pRoot */,
276
 
    xWindowRoot * /* pRootT */);
277
 
 
278
 
extern void SwapVisual(
279
 
    xVisualType * /* pVis */,
280
 
    xVisualType * /* pVisT */);
281
 
 
282
 
extern void SwapConnSetupPrefix(
283
 
    xConnSetupPrefix * /* pcspFrom */,
284
 
    xConnSetupPrefix * /* pcspTo */);
285
 
 
286
 
extern void WriteSConnSetupPrefix(
287
 
    ClientPtr /* pClient */,
288
 
    xConnSetupPrefix * /* pcsp */);
289
 
 
290
 
#undef SWAPREP_PROC
291
 
#define SWAPREP_PROC(func) void func(xEvent * /* from */, xEvent * /* to */)
292
 
 
293
 
SWAPREP_PROC(SCirculateEvent);
294
 
SWAPREP_PROC(SClientMessageEvent);
295
 
SWAPREP_PROC(SColormapEvent);
296
 
SWAPREP_PROC(SConfigureNotifyEvent);
297
 
SWAPREP_PROC(SConfigureRequestEvent);
298
 
SWAPREP_PROC(SCreateNotifyEvent);
299
 
SWAPREP_PROC(SDestroyNotifyEvent);
300
 
SWAPREP_PROC(SEnterLeaveEvent);
301
 
SWAPREP_PROC(SExposeEvent);
302
 
SWAPREP_PROC(SFocusEvent);
303
 
SWAPREP_PROC(SGraphicsExposureEvent);
304
 
SWAPREP_PROC(SGravityEvent);
305
 
SWAPREP_PROC(SKeyButtonPtrEvent);
306
 
SWAPREP_PROC(SKeymapNotifyEvent);
307
 
SWAPREP_PROC(SMapNotifyEvent);
308
 
SWAPREP_PROC(SMapRequestEvent);
309
 
SWAPREP_PROC(SMappingEvent);
310
 
SWAPREP_PROC(SNoExposureEvent);
311
 
SWAPREP_PROC(SPropertyEvent);
312
 
SWAPREP_PROC(SReparentEvent);
313
 
SWAPREP_PROC(SResizeRequestEvent);
314
 
SWAPREP_PROC(SSelectionClearEvent);
315
 
SWAPREP_PROC(SSelectionNotifyEvent);
316
 
SWAPREP_PROC(SSelectionRequestEvent);
317
 
SWAPREP_PROC(SUnmapNotifyEvent);
318
 
SWAPREP_PROC(SVisibilityEvent);
319
 
 
320
 
#undef SWAPREP_PROC
321
 
 
322
 
#endif /* SWAPREP_H */