Xext.h
上传用户:lctgjx
上传日期:2022-06-04
资源大小:8887k
文件大小:2k
源码类别:

流媒体/Mpeg4/MP4

开发平台:

Visual C++

  1. /*
  2.  * $Xorg: Xext.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $
  3.  *
  4. Copyright 1989, 1998  The Open Group
  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.
  10. The above copyright notice and this permission notice shall be included in
  11. all copies or substantial portions of the Software.
  12. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  13. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  14. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  15. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  16. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  17. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  18. Except as contained in this notice, the name of The Open Group shall not be
  19. used in advertising or otherwise to promote the sale, use or other dealings
  20. in this Software without prior written authorization from The Open Group.
  21.  */
  22. /* $XFree86: xc/include/extensions/Xext.h,v 1.4 2001/12/14 19:53:28 dawes Exp $ */
  23. #ifndef _XEXT_H_
  24. #define _XEXT_H_
  25. #include <X11/Xfuncproto.h>
  26. _XFUNCPROTOBEGIN
  27. extern int (*XSetExtensionErrorHandler(
  28.     int (*handler)(
  29.    Display *,
  30.    char *,
  31.    char *
  32.    )
  33. ))(
  34.    Display *,
  35.    char *,
  36.    char *
  37. );
  38. extern int XMissingExtension(
  39.     Display* /* dpy */,
  40.     _Xconst char* /* ext_name */
  41. );
  42. _XFUNCPROTOEND
  43. #define X_EXTENSION_UNKNOWN "unknown"
  44. #define X_EXTENSION_MISSING "missing"
  45. #endif /* _XEXT_H_ */