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