VirtualBox

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

Last change on this file since 78293 was 40349, checked in by vboxsync, 13 years ago

Additions/xorg: support X.Org Server 1.12.

  • Property svn:eol-style set to native
File size: 8.1 KB
Line 
1/************************************************************
2
3Copyright 1996 by Thomas E. Dickey <[email protected]>
4
5 All Rights Reserved
6
7Permission to use, copy, modify, and distribute this software and its
8documentation for any purpose and without fee is hereby granted,
9provided that the above copyright notice appear in all copies and that
10both that copyright notice and this permission notice appear in
11supporting documentation, and that the name of the above listed
12copyright holder(s) not be used in advertising or publicity pertaining
13to distribution of the software without specific, written prior
14permission.
15
16THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
17TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
19LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
24********************************************************/
25
26#ifndef SWAPREP_H
27#define SWAPREP_H 1
28
29extern _X_EXPORT void Swap32Write(
30 ClientPtr /* pClient */,
31 int /* size */,
32 CARD32 * /* pbuf */);
33
34extern _X_EXPORT void CopySwap32Write(
35 ClientPtr /* pClient */,
36 int /* size */,
37 CARD32 * /* pbuf */);
38
39extern _X_EXPORT void CopySwap16Write(
40 ClientPtr /* pClient */,
41 int /* size */,
42 short * /* pbuf */);
43
44extern _X_EXPORT void SGenericReply(
45 ClientPtr /* pClient */,
46 int /* size */,
47 xGenericReply * /* pRep */);
48
49extern _X_EXPORT void SGetWindowAttributesReply(
50 ClientPtr /* pClient */,
51 int /* size */,
52 xGetWindowAttributesReply * /* pRep */);
53
54extern _X_EXPORT void SGetGeometryReply(
55 ClientPtr /* pClient */,
56 int /* size */,
57 xGetGeometryReply * /* pRep */);
58
59extern _X_EXPORT void SQueryTreeReply(
60 ClientPtr /* pClient */,
61 int /* size */,
62 xQueryTreeReply * /* pRep */);
63
64extern _X_EXPORT void SInternAtomReply(
65 ClientPtr /* pClient */,
66 int /* size */,
67 xInternAtomReply * /* pRep */);
68
69extern _X_EXPORT void SGetAtomNameReply(
70 ClientPtr /* pClient */,
71 int /* size */,
72 xGetAtomNameReply * /* pRep */);
73
74extern _X_EXPORT void SGetPropertyReply(
75 ClientPtr /* pClient */,
76 int /* size */,
77 xGetPropertyReply * /* pRep */);
78
79extern _X_EXPORT void SListPropertiesReply(
80 ClientPtr /* pClient */,
81 int /* size */,
82 xListPropertiesReply * /* pRep */);
83
84extern _X_EXPORT void SGetSelectionOwnerReply(
85 ClientPtr /* pClient */,
86 int /* size */,
87 xGetSelectionOwnerReply * /* pRep */);
88
89extern _X_EXPORT void SQueryPointerReply(
90 ClientPtr /* pClient */,
91 int /* size */,
92 xQueryPointerReply * /* pRep */);
93
94extern _X_EXPORT void SwapTimeCoordWrite(
95 ClientPtr /* pClient */,
96 int /* size */,
97 xTimecoord * /* pRep */);
98
99extern _X_EXPORT void SGetMotionEventsReply(
100 ClientPtr /* pClient */,
101 int /* size */,
102 xGetMotionEventsReply * /* pRep */);
103
104extern _X_EXPORT void STranslateCoordsReply(
105 ClientPtr /* pClient */,
106 int /* size */,
107 xTranslateCoordsReply * /* pRep */);
108
109extern _X_EXPORT void SGetInputFocusReply(
110 ClientPtr /* pClient */,
111 int /* size */,
112 xGetInputFocusReply * /* pRep */);
113
114extern _X_EXPORT void SQueryKeymapReply(
115 ClientPtr /* pClient */,
116 int /* size */,
117 xQueryKeymapReply * /* pRep */);
118
119extern _X_EXPORT void SQueryFontReply(
120 ClientPtr /* pClient */,
121 int /* size */,
122 xQueryFontReply * /* pRep */);
123
124extern _X_EXPORT void SQueryTextExtentsReply(
125 ClientPtr /* pClient */,
126 int /* size */,
127 xQueryTextExtentsReply * /* pRep */);
128
129extern _X_EXPORT void SListFontsReply(
130 ClientPtr /* pClient */,
131 int /* size */,
132 xListFontsReply * /* pRep */);
133
134extern _X_EXPORT void SListFontsWithInfoReply(
135 ClientPtr /* pClient */,
136 int /* size */,
137 xListFontsWithInfoReply * /* pRep */);
138
139extern _X_EXPORT void SGetFontPathReply(
140 ClientPtr /* pClient */,
141 int /* size */,
142 xGetFontPathReply * /* pRep */);
143
144extern _X_EXPORT void SGetImageReply(
145 ClientPtr /* pClient */,
146 int /* size */,
147 xGetImageReply * /* pRep */);
148
149extern _X_EXPORT void SListInstalledColormapsReply(
150 ClientPtr /* pClient */,
151 int /* size */,
152 xListInstalledColormapsReply * /* pRep */);
153
154extern _X_EXPORT void SAllocColorReply(
155 ClientPtr /* pClient */,
156 int /* size */,
157 xAllocColorReply * /* pRep */);
158
159extern _X_EXPORT void SAllocNamedColorReply(
160 ClientPtr /* pClient */,
161 int /* size */,
162 xAllocNamedColorReply * /* pRep */);
163
164extern _X_EXPORT void SAllocColorCellsReply(
165 ClientPtr /* pClient */,
166 int /* size */,
167 xAllocColorCellsReply * /* pRep */);
168
169extern _X_EXPORT void SAllocColorPlanesReply(
170 ClientPtr /* pClient */,
171 int /* size */,
172 xAllocColorPlanesReply * /* pRep */);
173
174extern _X_EXPORT void SQColorsExtend(
175 ClientPtr /* pClient */,
176 int /* size */,
177 xrgb * /* prgb */);
178
179extern _X_EXPORT void SQueryColorsReply(
180 ClientPtr /* pClient */,
181 int /* size */,
182 xQueryColorsReply * /* pRep */);
183
184extern _X_EXPORT void SLookupColorReply(
185 ClientPtr /* pClient */,
186 int /* size */,
187 xLookupColorReply * /* pRep */);
188
189extern _X_EXPORT void SQueryBestSizeReply(
190 ClientPtr /* pClient */,
191 int /* size */,
192 xQueryBestSizeReply * /* pRep */);
193
194extern _X_EXPORT void SListExtensionsReply(
195 ClientPtr /* pClient */,
196 int /* size */,
197 xListExtensionsReply * /* pRep */);
198
199extern _X_EXPORT void SGetKeyboardMappingReply(
200 ClientPtr /* pClient */,
201 int /* size */,
202 xGetKeyboardMappingReply * /* pRep */);
203
204extern _X_EXPORT void SGetPointerMappingReply(
205 ClientPtr /* pClient */,
206 int /* size */,
207 xGetPointerMappingReply * /* pRep */);
208
209extern _X_EXPORT void SGetModifierMappingReply(
210 ClientPtr /* pClient */,
211 int /* size */,
212 xGetModifierMappingReply * /* pRep */);
213
214extern _X_EXPORT void SGetKeyboardControlReply(
215 ClientPtr /* pClient */,
216 int /* size */,
217 xGetKeyboardControlReply * /* pRep */);
218
219extern _X_EXPORT void SGetPointerControlReply(
220 ClientPtr /* pClient */,
221 int /* size */,
222 xGetPointerControlReply * /* pRep */);
223
224extern _X_EXPORT void SGetScreenSaverReply(
225 ClientPtr /* pClient */,
226 int /* size */,
227 xGetScreenSaverReply * /* pRep */);
228
229extern _X_EXPORT void SLHostsExtend(
230 ClientPtr /* pClient */,
231 int /* size */,
232 char * /* buf */);
233
234extern _X_EXPORT void SListHostsReply(
235 ClientPtr /* pClient */,
236 int /* size */,
237 xListHostsReply * /* pRep */);
238
239extern _X_EXPORT void SErrorEvent(
240 xError * /* from */,
241 xError * /* to */);
242
243extern _X_EXPORT void SwapConnSetupInfo(
244 char * /* pInfo */,
245 char * /* pInfoTBase */);
246
247extern _X_EXPORT void WriteSConnectionInfo(
248 ClientPtr /* pClient */,
249 unsigned long /* size */,
250 char * /* pInfo */);
251
252extern _X_EXPORT void SwapConnSetupPrefix(
253 xConnSetupPrefix * /* pcspFrom */,
254 xConnSetupPrefix * /* pcspTo */);
255
256extern _X_EXPORT void WriteSConnSetupPrefix(
257 ClientPtr /* pClient */,
258 xConnSetupPrefix * /* pcsp */);
259
260#undef SWAPREP_PROC
261#define SWAPREP_PROC(func) extern _X_EXPORT void func(xEvent * /* from */, xEvent * /* to */)
262
263SWAPREP_PROC(SCirculateEvent);
264SWAPREP_PROC(SClientMessageEvent);
265SWAPREP_PROC(SColormapEvent);
266SWAPREP_PROC(SConfigureNotifyEvent);
267SWAPREP_PROC(SConfigureRequestEvent);
268SWAPREP_PROC(SCreateNotifyEvent);
269SWAPREP_PROC(SDestroyNotifyEvent);
270SWAPREP_PROC(SEnterLeaveEvent);
271SWAPREP_PROC(SExposeEvent);
272SWAPREP_PROC(SFocusEvent);
273SWAPREP_PROC(SGraphicsExposureEvent);
274SWAPREP_PROC(SGravityEvent);
275SWAPREP_PROC(SKeyButtonPtrEvent);
276SWAPREP_PROC(SKeymapNotifyEvent);
277SWAPREP_PROC(SMapNotifyEvent);
278SWAPREP_PROC(SMapRequestEvent);
279SWAPREP_PROC(SMappingEvent);
280SWAPREP_PROC(SNoExposureEvent);
281SWAPREP_PROC(SPropertyEvent);
282SWAPREP_PROC(SReparentEvent);
283SWAPREP_PROC(SResizeRequestEvent);
284SWAPREP_PROC(SSelectionClearEvent);
285SWAPREP_PROC(SSelectionNotifyEvent);
286SWAPREP_PROC(SSelectionRequestEvent);
287SWAPREP_PROC(SUnmapNotifyEvent);
288SWAPREP_PROC(SVisibilityEvent);
289
290#undef SWAPREP_PROC
291
292#endif /* SWAPREP_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