]> git.sesse.net Git - rdpsrv/blob - Xserver/programs/Xserver/include/XIstubs.h
Support RDP5 logon packets.
[rdpsrv] / Xserver / programs / Xserver / include / XIstubs.h
1 /* $XFree86: xc/programs/Xserver/include/XIstubs.h,v 3.1 1996/04/15 11:34:22 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 XI_STUBS_H
28 #define XI_STUBS_H 1
29
30 int
31 ChangeKeyboardDevice (
32 #if NeedFunctionPrototypes
33         DeviceIntPtr           /* old_dev */,
34         DeviceIntPtr           /* new_dev */
35 #endif
36         );
37
38 int
39 ChangePointerDevice (
40 #if NeedFunctionPrototypes
41         DeviceIntPtr           /* old_dev */,
42         DeviceIntPtr           /* new_dev */,
43         unsigned char          /* x */,
44         unsigned char          /* y */
45 #endif
46         );
47
48 void
49 CloseInputDevice (
50 #if NeedFunctionPrototypes
51         DeviceIntPtr           /* d */,
52         ClientPtr              /* client */
53 #endif
54         );
55
56 void
57 AddOtherInputDevices (
58 #if NeedFunctionPrototypes
59         void
60 #endif
61         );
62
63 void
64 OpenInputDevice (
65 #if NeedFunctionPrototypes
66         DeviceIntPtr           /* dev */,
67         ClientPtr              /* client */,
68         int *                  /* status */
69 #endif
70         );
71
72 int
73 SetDeviceMode (
74 #if NeedFunctionPrototypes
75         ClientPtr              /* client */,
76         DeviceIntPtr           /* dev */,
77         int                    /* mode */
78 #endif
79         );
80
81 int
82 SetDeviceValuators (
83 #if NeedFunctionPrototypes
84         ClientPtr              /* client */,
85         DeviceIntPtr           /* dev */,
86         int *                  /* valuators */,
87         int                    /* first_valuator */,
88         int                    /* num_valuators */
89 #endif
90         );
91
92 int
93 ChangeDeviceControl (
94 #if NeedFunctionPrototypes
95         ClientPtr             /* client */,
96         DeviceIntPtr          /* dev */,
97         xDeviceCtl *          /* control */
98 #endif
99         );
100
101 #endif /* XI_STUBS_H */