home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / ddx / x386 / x386Procs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-02  |  3.3 KB  |  166 lines

  1. /*
  2.  * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
  3.  *
  4.  * Permission to use, copy, modify, distribute, and sell this software and its
  5.  * documentation for any purpose is hereby granted without fee, provided that
  6.  * the above copyright notice appear in all copies and that both that
  7.  * copyright notice and this permission notice appear in supporting
  8.  * documentation, and that the name of Thomas Roell not be used in
  9.  * advertising or publicity pertaining to distribution of the software without
  10.  * specific, written prior permission.  Thomas Roell makes no representations
  11.  * about the suitability of this software for any purpose.  It is provided
  12.  * "as is" without express or implied warranty.
  13.  *
  14.  * THOMAS ROELL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  15.  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  16.  * EVENT SHALL THOMAS ROELL BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  17.  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  18.  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  19.  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  20.  * PERFORMANCE OF THIS SOFTWARE.
  21.  *
  22.  * $Header: /proj/X11/mit/server/ddx/x386/RCS/x386Procs.h,v 1.1 1991/06/02 22:36:19 root Exp $
  23.  */
  24.  
  25. #ifndef _X386PROCS_H
  26. #define _X386PROCS_H
  27.  
  28. #include <X11/Xfuncproto.h>
  29. #include "x386.h"
  30. #include "x386Priv.h"
  31.  
  32. _XFUNCPROTOBEGIN
  33.  
  34.  
  35. /* x386Config.c */
  36.  
  37. extern void x386Config();
  38.  
  39. extern void x386LookupMode(
  40. #if NeedFunctionPrototypes
  41.     DisplayModePtr,        /* target */
  42.     ScrnInfoPtr        /* driver */
  43. #endif 
  44. );
  45.  
  46.  
  47. /* x386Cursor.c */
  48.  
  49. extern void x386InitViewport(
  50. #if NeedFunctionPrototypes
  51.     ScrnInfoPtr        /* pScr */
  52. #endif 
  53. );
  54.  
  55. extern void x386SetViewport(
  56. #if NeedFunctionPrototypes
  57.     ScreenPtr,        /* pScreen */
  58.     int,            /* x */
  59.     int            /* y */
  60. #endif 
  61. );
  62.  
  63. extern void x386ZoomViewport(
  64. #if NeedFunctionPrototypes
  65.     ScreenPtr,        /* pScreen */
  66.     int            /* zoom */
  67. #endif 
  68. );
  69.  
  70.  
  71. /* x386Events.c */
  72.  
  73. extern void ProcessInputEvents();
  74.  
  75. extern void x386PostKbdEvent(
  76. #if NeedFunctionPrototypes
  77.     unsigned        /* key */
  78. #endif 
  79. );
  80.  
  81. extern void x386PostMseEvent(
  82. #if NeedFunctionPrototypes
  83.     int,            /* buttons */
  84.     int,            /* dx */
  85.     int            /* dy */
  86. #endif
  87. );
  88.  
  89. extern void x386Block(
  90. #if NeedFunctionPrototypes
  91.     pointer,        /* blockData */
  92.     pointer,        /* pTimeout */
  93.     long *            /* pReadmask */
  94. #endif
  95. );
  96.  
  97. extern void x386Wakeup(
  98. #if NeedFunctionPrototypes
  99.     pointer,        /* blockData */
  100.     unsigned long,        /* err */
  101.     long *            /* pReadmask */
  102. #endif
  103. );
  104.  
  105. extern void x386VTRequest(
  106. #if NeedFunctionPrototypes
  107.     int            /* signo */
  108. #endif
  109. );
  110.  
  111.  
  112. /* x386Io.c */
  113.  
  114. extern void x386KbdLeds();
  115.  
  116. extern int  x386KbdProc(
  117. #if NeedFunctionPrototypes
  118.     DevicePtr,        /* pKeyboard */
  119.     int            /* what */
  120. #endif
  121. );
  122.  
  123. extern void x386KbdEvents();
  124.  
  125. extern int  x386MseProc(
  126. #if NeedFunctionPrototypes
  127.     DevicePtr,        /* pPointer */
  128.     int            /* what */
  129. #endif
  130. );
  131.  
  132. extern void x386MseEvents();
  133.  
  134. extern int  x386XqueKbdProc(
  135. #if NeedFunctionPrototypes
  136.     DevicePtr,        /* pKeyboard */
  137.     int            /* what */
  138. #endif
  139. );
  140.  
  141. extern int  x386XqueMseProc(
  142. #if NeedFunctionPrototypes
  143.     DevicePtr,        /* pPointer */
  144.     int            /* what */
  145. #endif
  146. );
  147.  
  148. extern void x386XqueEvents();
  149.  
  150.  
  151.  
  152. /* x386Kbd.c */
  153.  
  154. extern void x386KbdGetMapping(
  155. #if NeedFunctionPrototypes
  156.     KeySymsRec *,        /* pKeySyms */
  157.     CARD8 *            /* pModMap */
  158. #endif
  159. );
  160.  
  161. _XFUNCPROTOEND
  162.  
  163. #endif /* _X386PROCS_H */
  164.  
  165.  
  166.