extinit.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /************************************************************
  2. Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
  3. All Rights Reserved
  4. Permission to use, copy, modify, and distribute this software and its
  5. documentation for any purpose and without fee is hereby granted,
  6. provided that the above copyright notice appear in all copies and that
  7. both that copyright notice and this permission notice appear in
  8. supporting documentation, and that the name of the above listed
  9. copyright holder(s) not be used in advertising or publicity pertaining
  10. to distribution of the software without specific, written prior
  11. permission.
  12. THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
  13. TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  14. AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
  15. LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  16. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  17. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  18. OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  19. ********************************************************/
  20. /********************************************************************
  21. * Interface of extinit.c
  22. */
  23. #ifndef EXTINIT_H
  24. #define EXTINIT_H
  25. #include "extnsionst.h"
  26. #include <X11/extensions/XIproto.h>
  27. void
  28. XInputExtensionInit(
  29. void
  30. );
  31. int
  32. ProcIDispatch (
  33. ClientPtr /* client */
  34. );
  35. int
  36. SProcIDispatch(
  37. ClientPtr /* client */
  38. );
  39. void
  40. SReplyIDispatch (
  41. ClientPtr /* client */,
  42. int /* len */,
  43. xGrabDeviceReply * /* rep */
  44. );
  45. void
  46. SEventIDispatch (
  47. xEvent * /* from */,
  48. xEvent * /* to */
  49. );
  50. void
  51. SEventDeviceValuator (
  52. deviceValuator * /* from */,
  53. deviceValuator * /* to */
  54. );
  55. void
  56. SEventFocus (
  57. deviceFocus * /* from */,
  58. deviceFocus * /* to */
  59. );
  60. void
  61. SDeviceStateNotifyEvent (
  62. deviceStateNotify * /* from */,
  63. deviceStateNotify * /* to */
  64. );
  65. void
  66. SDeviceKeyStateNotifyEvent (
  67. deviceKeyStateNotify * /* from */,
  68. deviceKeyStateNotify * /* to */
  69. );
  70. void
  71. SDeviceButtonStateNotifyEvent (
  72. deviceButtonStateNotify * /* from */,
  73. deviceButtonStateNotify * /* to */
  74. );
  75. void
  76. SChangeDeviceNotifyEvent (
  77. changeDeviceNotify * /* from */,
  78. changeDeviceNotify * /* to */
  79. );
  80. void
  81. SDeviceMappingNotifyEvent (
  82. deviceMappingNotify * /* from */,
  83. deviceMappingNotify * /* to */
  84. );
  85. void
  86. FixExtensionEvents (
  87. ExtensionEntry * /* extEntry */
  88. );
  89. void
  90. RestoreExtensionEvents (
  91. void
  92. );
  93. void
  94. IResetProc(
  95. ExtensionEntry * /* unused */
  96. );
  97. void
  98. AssignTypeAndName (
  99. DeviceIntPtr /* dev */,
  100. Atom /* type */,
  101. char * /* name */
  102. );
  103. void
  104. MakeDeviceTypeAtoms (
  105. void
  106. );
  107. DeviceIntPtr
  108. LookupDeviceIntRec (
  109. CARD8 /* id */
  110. );
  111. void
  112. SetExclusiveAccess (
  113. Mask /* mask */
  114. );
  115. void
  116. AllowPropagateSuppress (
  117. Mask /* mask */
  118. );
  119. Mask
  120. GetNextExtEventMask (
  121. void
  122. );
  123. void
  124. SetMaskForExtEvent(
  125. Mask /* mask */,
  126. int /* event */
  127. );
  128. void
  129. SetEventInfo(
  130. Mask /* mask */,
  131. int /* constant */
  132. );
  133. #endif /* EXTINIT_H */