Home | History | Annotate | Download | only in extensions
      1 /* $Xorg: XLbx.h,v 1.3 2000/08/18 04:05:45 coskrey Exp $ */
      2 /*
      3  * Copyright 1992 Network Computing Devices
      4  *
      5  * Permission to use, copy, modify, distribute, and sell this software and its
      6  * documentation for any purpose is hereby granted without fee, provided that
      7  * the above copyright notice appear in all copies and that both that
      8  * copyright notice and this permission notice appear in supporting
      9  * documentation, and that the name of NCD. not be used in advertising or
     10  * publicity pertaining to distribution of the software without specific,
     11  * written prior permission.  NCD. makes no representations about the
     12  * suitability of this software for any purpose.  It is provided "as is"
     13  * without express or implied warranty.
     14  *
     15  * NCD. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
     16  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCD.
     17  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
     18  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
     19  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
     20  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
     21  *
     22  */
     23 /* $XFree86: xc/include/extensions/XLbx.h,v 1.3 2002/10/16 01:59:55 dawes Exp $ */
     24 
     25 #ifndef _XLBX_H_
     26 #define _XLBX_H_
     27 
     28 #include <X11/Xfuncproto.h>
     29 #include <X11/Xdefs.h>
     30 #include <X11/Xlib.h>
     31 #include <X11/extensions/lbx.h>
     32 
     33 _XFUNCPROTOBEGIN
     34 
     35 Bool XLbxQueryExtension(
     36     Display*		/* dpy */,
     37     int*		/* requestp */,
     38     int*		/* event_basep */,
     39     int*		/* error_basep */
     40 );
     41 
     42 Bool XLbxQueryVersion(
     43     Display*		/* dpy */,
     44     int*		/* majorVersion */,
     45     int*		/* minorVersion */
     46 );
     47 
     48 int XLbxGetEventBase(Display *dpy);
     49 
     50 _XFUNCPROTOEND
     51 
     52 #endif
     53