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
icculus@1599
     1
/*
icculus@1599
     2
Copyright 1989, 1998  The Open Group
icculus@1599
     3
icculus@1599
     4
Permission to use, copy, modify, distribute, and sell this software and its
icculus@1599
     5
documentation for any purpose is hereby granted without fee, provided that
icculus@1599
     6
the above copyright notice appear in all copies and that both that
icculus@1599
     7
copyright notice and this permission notice appear in supporting
icculus@1599
     8
documentation.
icculus@1599
     9
icculus@1599
    10
The above copyright notice and this permission notice shall be included in
icculus@1599
    11
all copies or substantial portions of the Software.
icculus@1599
    12
icculus@1599
    13
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
icculus@1599
    14
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
icculus@1599
    15
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
icculus@1599
    16
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
icculus@1599
    17
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
icculus@1599
    18
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
icculus@1599
    19
icculus@1599
    20
Except as contained in this notice, the name of The Open Group shall not be
icculus@1599
    21
used in advertising or otherwise to promote the sale, use or other dealings
icculus@1599
    22
in this Software without prior written authorization from The Open Group.
icculus@1599
    23
 */
icculus@1599
    24
/* $XFree86: xc/include/extensions/Xext.h,v 1.7 2005/01/27 03:03:09 dawes Exp $ */
icculus@1599
    25
icculus@1599
    26
#ifndef _XEXT_H_
icculus@1599
    27
#define _XEXT_H_
icculus@1599
    28
icculus@1599
    29
#include <X11/Xfuncproto.h>
icculus@1599
    30
icculus@1599
    31
_XFUNCPROTOBEGIN
slouken@1662
    32
    typedef int (*XExtensionErrorHandler) (Display *, _Xconst char *,
slouken@1662
    33
                                           _Xconst char *);
icculus@1599
    34
slouken@1662
    35
extern XExtensionErrorHandler
slouken@1668
    36
XSetExtensionErrorHandler(XExtensionErrorHandler handler);
icculus@1599
    37
slouken@1668
    38
extern int XMissingExtension(Display * /* dpy */ ,
slouken@1668
    39
                             _Xconst char *     /* ext_name */
slouken@1662
    40
    );
icculus@1599
    41
icculus@1599
    42
_XFUNCPROTOEND
icculus@1599
    43
#define X_EXTENSION_UNKNOWN "unknown"
icculus@1599
    44
#define X_EXTENSION_MISSING "missing"
icculus@1599
    45
#endif /* _XEXT_H_ */
slouken@1662
    46
/* vi: set ts=4 sw=4 expandtab: */