1 | /************************************************************
|
---|
2 |
|
---|
3 | Copyright 1996 by Thomas E. Dickey <[email protected]>
|
---|
4 |
|
---|
5 | All Rights Reserved
|
---|
6 |
|
---|
7 | Permission to use, copy, modify, and distribute this software and its
|
---|
8 | documentation for any purpose and without fee is hereby granted,
|
---|
9 | provided that the above copyright notice appear in all copies and that
|
---|
10 | both that copyright notice and this permission notice appear in
|
---|
11 | supporting documentation, and that the name of the above listed
|
---|
12 | copyright holder(s) not be used in advertising or publicity pertaining
|
---|
13 | to distribution of the software without specific, written prior
|
---|
14 | permission.
|
---|
15 |
|
---|
16 | THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
|
---|
17 | TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
---|
18 | AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
|
---|
19 | LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
---|
20 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
---|
21 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
---|
22 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
---|
23 |
|
---|
24 | ********************************************************/
|
---|
25 |
|
---|
26 | #ifdef HAVE_DIX_CONFIG_H
|
---|
27 | #include <dix-config.h>
|
---|
28 | #endif
|
---|
29 |
|
---|
30 | #ifndef LISTDEV_H
|
---|
31 | #define LISTDEV_H 1
|
---|
32 |
|
---|
33 | int SProcXListInputDevices(ClientPtr /* client */
|
---|
34 | );
|
---|
35 |
|
---|
36 | int ProcXListInputDevices(ClientPtr /* client */
|
---|
37 | );
|
---|
38 |
|
---|
39 | void SizeDeviceInfo(DeviceIntPtr /* d */ ,
|
---|
40 | int * /* namesize */ ,
|
---|
41 | int * /* size */
|
---|
42 | );
|
---|
43 |
|
---|
44 | void ListDeviceInfo(ClientPtr /* client */ ,
|
---|
45 | DeviceIntPtr /* d */ ,
|
---|
46 | xDeviceInfoPtr /* dev */ ,
|
---|
47 | char ** /* devbuf */ ,
|
---|
48 | char ** /* classbuf */ ,
|
---|
49 | char ** /* namebuf */
|
---|
50 | );
|
---|
51 |
|
---|
52 | void CopyDeviceName(char ** /* namebuf */ ,
|
---|
53 | char * /* name */
|
---|
54 | );
|
---|
55 |
|
---|
56 | void CopySwapDevice(ClientPtr /* client */ ,
|
---|
57 | DeviceIntPtr /* d */ ,
|
---|
58 | int /* num_classes */ ,
|
---|
59 | char ** /* buf */
|
---|
60 | );
|
---|
61 |
|
---|
62 | void CopySwapKeyClass(ClientPtr /* client */ ,
|
---|
63 | KeyClassPtr /* k */ ,
|
---|
64 | char ** /* buf */
|
---|
65 | );
|
---|
66 |
|
---|
67 | void CopySwapButtonClass(ClientPtr /* client */ ,
|
---|
68 | ButtonClassPtr /* b */ ,
|
---|
69 | char ** /* buf */
|
---|
70 | );
|
---|
71 |
|
---|
72 | int CopySwapValuatorClass(ClientPtr /* client */ ,
|
---|
73 | ValuatorClassPtr /* v */ ,
|
---|
74 | char ** /* buf */
|
---|
75 | );
|
---|
76 |
|
---|
77 | void SRepXListInputDevices(ClientPtr /* client */ ,
|
---|
78 | int /* size */ ,
|
---|
79 | xListInputDevicesReply * /* rep */
|
---|
80 | );
|
---|
81 |
|
---|
82 | #endif /* LISTDEV_H */
|
---|