annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/X11/extensions/Xext.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 /*
jpayne@69 2 *
jpayne@69 3 Copyright 1989, 1998 The Open Group
jpayne@69 4
jpayne@69 5 Permission to use, copy, modify, distribute, and sell this software and its
jpayne@69 6 documentation for any purpose is hereby granted without fee, provided that
jpayne@69 7 the above copyright notice appear in all copies and that both that
jpayne@69 8 copyright notice and this permission notice appear in supporting
jpayne@69 9 documentation.
jpayne@69 10
jpayne@69 11 The above copyright notice and this permission notice shall be included in
jpayne@69 12 all copies or substantial portions of the Software.
jpayne@69 13
jpayne@69 14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
jpayne@69 15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
jpayne@69 16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
jpayne@69 17 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
jpayne@69 18 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
jpayne@69 19 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
jpayne@69 20
jpayne@69 21 Except as contained in this notice, the name of The Open Group shall not be
jpayne@69 22 used in advertising or otherwise to promote the sale, use or other dealings
jpayne@69 23 in this Software without prior written authorization from The Open Group.
jpayne@69 24 */
jpayne@69 25
jpayne@69 26 #ifndef _XEXT_H_
jpayne@69 27 #define _XEXT_H_
jpayne@69 28
jpayne@69 29 #include <X11/Xfuncproto.h>
jpayne@69 30
jpayne@69 31 _XFUNCPROTOBEGIN
jpayne@69 32
jpayne@69 33 typedef int (*XextErrorHandler) (
jpayne@69 34 Display * /* dpy */,
jpayne@69 35 _Xconst char* /* ext_name */,
jpayne@69 36 _Xconst char* /* reason */
jpayne@69 37 );
jpayne@69 38
jpayne@69 39 extern XextErrorHandler XSetExtensionErrorHandler(
jpayne@69 40 XextErrorHandler /* handler */
jpayne@69 41 );
jpayne@69 42
jpayne@69 43 extern int XMissingExtension(
jpayne@69 44 Display* /* dpy */,
jpayne@69 45 _Xconst char* /* ext_name */
jpayne@69 46 );
jpayne@69 47
jpayne@69 48 _XFUNCPROTOEND
jpayne@69 49
jpayne@69 50 #define X_EXTENSION_UNKNOWN "unknown"
jpayne@69 51 #define X_EXTENSION_MISSING "missing"
jpayne@69 52
jpayne@69 53 #endif /* _XEXT_H_ */