src/video/Xext/extensions/Xext.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 29 May 2006 04:04:35 +0000
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
permissions -rw-r--r--
more tweaking indent options
     1 /*
     2 Copyright 1989, 1998  The Open Group
     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.
     9 
    10 The above copyright notice and this permission notice shall be included in
    11 all copies or substantial portions of the Software.
    12 
    13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    14 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    15 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    16 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
    17 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    18 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    19 
    20 Except as contained in this notice, the name of The Open Group shall not be
    21 used in advertising or otherwise to promote the sale, use or other dealings
    22 in this Software without prior written authorization from The Open Group.
    23  */
    24 /* $XFree86: xc/include/extensions/Xext.h,v 1.7 2005/01/27 03:03:09 dawes Exp $ */
    25 
    26 #ifndef _XEXT_H_
    27 #define _XEXT_H_
    28 
    29 #include <X11/Xfuncproto.h>
    30 
    31 _XFUNCPROTOBEGIN
    32     typedef int (*XExtensionErrorHandler) (Display *, _Xconst char *,
    33                                            _Xconst char *);
    34 
    35 extern XExtensionErrorHandler
    36 XSetExtensionErrorHandler(XExtensionErrorHandler handler);
    37 
    38 extern int XMissingExtension(Display * /* dpy */ ,
    39                              _Xconst char *     /* ext_name */
    40     );
    41 
    42 _XFUNCPROTOEND
    43 #define X_EXTENSION_UNKNOWN "unknown"
    44 #define X_EXTENSION_MISSING "missing"
    45 #endif /* _XEXT_H_ */
    46 /* vi: set ts=4 sw=4 expandtab: */