1 | /* $XFree86: xc/programs/Xserver/include/extinit.h,v 3.2 2001/08/01 00:44:58 tsi Exp $ */
|
---|
2 | /************************************************************
|
---|
3 |
|
---|
4 | Copyright 1996 by Thomas E. Dickey <[email protected]>
|
---|
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 | /********************************************************************
|
---|
28 | * Interface of extinit.c
|
---|
29 | */
|
---|
30 |
|
---|
31 | #ifndef EXTINIT_H
|
---|
32 | #define EXTINIT_H
|
---|
33 |
|
---|
34 | #include "extnsionst.h"
|
---|
35 |
|
---|
36 | void
|
---|
37 | XInputExtensionInit(
|
---|
38 | #if NeedFunctionPrototypes
|
---|
39 | void
|
---|
40 | #endif
|
---|
41 | );
|
---|
42 |
|
---|
43 |
|
---|
44 | int
|
---|
45 | ProcIDispatch (
|
---|
46 | #if NeedFunctionPrototypes
|
---|
47 | ClientPtr /* client */
|
---|
48 | #endif
|
---|
49 | );
|
---|
50 |
|
---|
51 | int
|
---|
52 | SProcIDispatch(
|
---|
53 | #if NeedFunctionPrototypes
|
---|
54 | ClientPtr /* client */
|
---|
55 | #endif
|
---|
56 | );
|
---|
57 |
|
---|
58 | void
|
---|
59 | SReplyIDispatch (
|
---|
60 | #if NeedFunctionPrototypes
|
---|
61 | ClientPtr /* client */,
|
---|
62 | int /* len */,
|
---|
63 | xGrabDeviceReply * /* rep */
|
---|
64 | #endif
|
---|
65 | );
|
---|
66 |
|
---|
67 | void
|
---|
68 | SEventIDispatch (
|
---|
69 | #if NeedFunctionPrototypes
|
---|
70 | xEvent * /* from */,
|
---|
71 | xEvent * /* to */
|
---|
72 | #endif
|
---|
73 | );
|
---|
74 |
|
---|
75 | void
|
---|
76 | SEventDeviceValuator (
|
---|
77 | #if NeedFunctionPrototypes
|
---|
78 | deviceValuator * /* from */,
|
---|
79 | deviceValuator * /* to */
|
---|
80 | #endif
|
---|
81 | );
|
---|
82 |
|
---|
83 | void
|
---|
84 | SEventFocus (
|
---|
85 | #if NeedFunctionPrototypes
|
---|
86 | deviceFocus * /* from */,
|
---|
87 | deviceFocus * /* to */
|
---|
88 | #endif
|
---|
89 | );
|
---|
90 |
|
---|
91 | void
|
---|
92 | SDeviceStateNotifyEvent (
|
---|
93 | #if NeedFunctionPrototypes
|
---|
94 | deviceStateNotify * /* from */,
|
---|
95 | deviceStateNotify * /* to */
|
---|
96 | #endif
|
---|
97 | );
|
---|
98 |
|
---|
99 | void
|
---|
100 | SDeviceKeyStateNotifyEvent (
|
---|
101 | #if NeedFunctionPrototypes
|
---|
102 | deviceKeyStateNotify * /* from */,
|
---|
103 | deviceKeyStateNotify * /* to */
|
---|
104 | #endif
|
---|
105 | );
|
---|
106 |
|
---|
107 | void
|
---|
108 | SDeviceButtonStateNotifyEvent (
|
---|
109 | #if NeedFunctionPrototypes
|
---|
110 | deviceButtonStateNotify * /* from */,
|
---|
111 | deviceButtonStateNotify * /* to */
|
---|
112 | #endif
|
---|
113 | );
|
---|
114 |
|
---|
115 | void
|
---|
116 | SChangeDeviceNotifyEvent (
|
---|
117 | #if NeedFunctionPrototypes
|
---|
118 | changeDeviceNotify * /* from */,
|
---|
119 | changeDeviceNotify * /* to */
|
---|
120 | #endif
|
---|
121 | );
|
---|
122 |
|
---|
123 | void
|
---|
124 | SDeviceMappingNotifyEvent (
|
---|
125 | #if NeedFunctionPrototypes
|
---|
126 | deviceMappingNotify * /* from */,
|
---|
127 | deviceMappingNotify * /* to */
|
---|
128 | #endif
|
---|
129 | );
|
---|
130 |
|
---|
131 | void
|
---|
132 | FixExtensionEvents (
|
---|
133 | #if NeedFunctionPrototypes
|
---|
134 | ExtensionEntry * /* extEntry */
|
---|
135 | #endif
|
---|
136 | );
|
---|
137 |
|
---|
138 | void
|
---|
139 | RestoreExtensionEvents (
|
---|
140 | #if NeedFunctionPrototypes
|
---|
141 | void
|
---|
142 | #endif
|
---|
143 | );
|
---|
144 |
|
---|
145 | void
|
---|
146 | IResetProc(
|
---|
147 | #if NeedFunctionPrototypes
|
---|
148 | ExtensionEntry * /* unused */
|
---|
149 | #endif
|
---|
150 | );
|
---|
151 |
|
---|
152 | void
|
---|
153 | AssignTypeAndName (
|
---|
154 | #if NeedFunctionPrototypes
|
---|
155 | DeviceIntPtr /* dev */,
|
---|
156 | Atom /* type */,
|
---|
157 | char * /* name */
|
---|
158 | #endif
|
---|
159 | );
|
---|
160 |
|
---|
161 | void
|
---|
162 | MakeDeviceTypeAtoms (
|
---|
163 | #if NeedFunctionPrototypes
|
---|
164 | void
|
---|
165 | #endif
|
---|
166 | );
|
---|
167 |
|
---|
168 | DeviceIntPtr
|
---|
169 | LookupDeviceIntRec (
|
---|
170 | #if NeedFunctionPrototypes
|
---|
171 | CARD8 /* id */
|
---|
172 | #endif
|
---|
173 | );
|
---|
174 |
|
---|
175 | void
|
---|
176 | SetExclusiveAccess (
|
---|
177 | #if NeedFunctionPrototypes
|
---|
178 | Mask /* mask */
|
---|
179 | #endif
|
---|
180 | );
|
---|
181 |
|
---|
182 | void
|
---|
183 | AllowPropagateSuppress (
|
---|
184 | #if NeedFunctionPrototypes
|
---|
185 | Mask /* mask */
|
---|
186 | #endif
|
---|
187 | );
|
---|
188 |
|
---|
189 | Mask
|
---|
190 | GetNextExtEventMask (
|
---|
191 | #if NeedFunctionPrototypes
|
---|
192 | void
|
---|
193 | #endif
|
---|
194 | );
|
---|
195 |
|
---|
196 | void
|
---|
197 | SetMaskForExtEvent(
|
---|
198 | #if NeedFunctionPrototypes
|
---|
199 | Mask /* mask */,
|
---|
200 | int /* event */
|
---|
201 | #endif
|
---|
202 | );
|
---|
203 |
|
---|
204 | void
|
---|
205 | SetEventInfo(
|
---|
206 | #if NeedFunctionPrototypes
|
---|
207 | Mask /* mask */,
|
---|
208 | int /* constant */
|
---|
209 | #endif
|
---|
210 | );
|
---|
211 |
|
---|
212 | #endif /* EXTINIT_H */
|
---|