xref: /OK3568_Linux_fs/external/xserver/include/XIstubs.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /************************************************************
2*4882a593Smuzhiyun 
3*4882a593Smuzhiyun Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun                         All Rights Reserved
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun Permission to use, copy, modify, and distribute this software and its
8*4882a593Smuzhiyun documentation for any purpose and without fee is hereby granted,
9*4882a593Smuzhiyun provided that the above copyright notice appear in all copies and that
10*4882a593Smuzhiyun both that copyright notice and this permission notice appear in
11*4882a593Smuzhiyun supporting documentation, and that the name of the above listed
12*4882a593Smuzhiyun copyright holder(s) not be used in advertising or publicity pertaining
13*4882a593Smuzhiyun to distribution of the software without specific, written prior
14*4882a593Smuzhiyun permission.
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
17*4882a593Smuzhiyun TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18*4882a593Smuzhiyun AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
19*4882a593Smuzhiyun LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20*4882a593Smuzhiyun WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21*4882a593Smuzhiyun ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22*4882a593Smuzhiyun OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun ********************************************************/
25*4882a593Smuzhiyun 
26*4882a593Smuzhiyun #ifndef XI_STUBS_H
27*4882a593Smuzhiyun #define XI_STUBS_H 1
28*4882a593Smuzhiyun 
29*4882a593Smuzhiyun extern _X_EXPORT int
30*4882a593Smuzhiyun  SetDeviceMode(ClientPtr /* client */ ,
31*4882a593Smuzhiyun                DeviceIntPtr /* dev */ ,
32*4882a593Smuzhiyun                int /* mode */ );
33*4882a593Smuzhiyun 
34*4882a593Smuzhiyun extern _X_EXPORT int
35*4882a593Smuzhiyun  SetDeviceValuators(ClientPtr /* client */ ,
36*4882a593Smuzhiyun                     DeviceIntPtr /* dev */ ,
37*4882a593Smuzhiyun                     int * /* valuators */ ,
38*4882a593Smuzhiyun                     int /* first_valuator */ ,
39*4882a593Smuzhiyun                     int /* num_valuators */ );
40*4882a593Smuzhiyun 
41*4882a593Smuzhiyun extern _X_EXPORT int
42*4882a593Smuzhiyun  ChangeDeviceControl(ClientPtr /* client */ ,
43*4882a593Smuzhiyun                      DeviceIntPtr /* dev */ ,
44*4882a593Smuzhiyun                      xDeviceCtl * /* control */ );
45*4882a593Smuzhiyun 
46*4882a593Smuzhiyun #endif                          /* XI_STUBS_H */
47