extinit.h revision 35c4bbdf
1/************************************************************ 2 3Copyright 1996 by Thomas E. Dickey <dickey@clark.net> 4 5 All Rights Reserved 6 7Permission to use, copy, modify, and distribute this software and its 8documentation for any purpose and without fee is hereby granted, 9provided that the above copyright notice appear in all copies and that 10both that copyright notice and this permission notice appear in 11supporting documentation, and that the name of the above listed 12copyright holder(s) not be used in advertising or publicity pertaining 13to distribution of the software without specific, written prior 14permission. 15 16THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD 17TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 18AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE 19LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 20WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 21ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 22OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 23 24********************************************************/ 25 26/* 27 * Copyright (C) 1994-2003 The XFree86 Project, Inc. All Rights Reserved. 28 * 29 * Permission is hereby granted, free of charge, to any person obtaining a copy of 30 * this software and associated documentation files (the "Software"), to deal in 31 * the Software without restriction, including without limitation the rights to 32 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 33 * of the Software, and to permit persons to whom the Software is furnished to do 34 * so, subject to the following conditions: 35 * 36 * The above copyright notice and this permission notice shall be included in all 37 * copies or substantial portions of the Software. 38 * 39 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 40 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- 41 * NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 42 * XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 43 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 44 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 45 * 46 * Except as contained in this notice, the name of the XFree86 Project shall not 47 * be used in advertising or otherwise to promote the sale, use or other dealings 48 * in this Software without prior written authorization from the XFree86 Project. 49 */ 50 51#ifndef EXTINIT_H 52#define EXTINIT_H 53 54#include "extnsionst.h" 55 56#ifdef COMPOSITE 57extern _X_EXPORT Bool noCompositeExtension; 58extern void CompositeExtensionInit(void); 59#endif 60 61#ifdef DAMAGE 62extern _X_EXPORT Bool noDamageExtension; 63extern void DamageExtensionInit(void); 64#endif 65 66#if defined(DBE) 67extern _X_EXPORT Bool noDbeExtension; 68extern void DbeExtensionInit(void); 69#endif 70 71#if defined(DPMSExtension) 72#include <X11/extensions/dpmsconst.h> 73extern _X_EXPORT Bool noDPMSExtension; 74extern void DPMSExtensionInit(void); 75#endif 76 77extern Bool noGEExtension; 78extern void GEExtensionInit(void); 79 80#ifdef GLXEXT 81extern _X_EXPORT Bool noGlxExtension; 82#endif 83 84#ifdef PANORAMIX 85#include <X11/extensions/panoramiXproto.h> 86extern _X_EXPORT Bool noPanoramiXExtension; 87extern void PanoramiXExtensionInit(void); 88#endif 89 90#ifdef RANDR 91extern _X_EXPORT Bool noRRExtension; 92extern void RRExtensionInit(void); 93#endif 94 95#if defined(XRECORD) 96extern void RecordExtensionInit(void); 97#endif 98 99extern _X_EXPORT Bool noRenderExtension; 100extern void RenderExtensionInit(void); 101 102#if defined(RES) 103#include <X11/extensions/XResproto.h> 104extern _X_EXPORT Bool noResExtension; 105extern void ResExtensionInit(void); 106#endif 107 108#if defined(SCREENSAVER) 109#include <X11/extensions/saver.h> 110extern _X_EXPORT Bool noScreenSaverExtension; 111extern void ScreenSaverExtensionInit(void); 112#endif 113 114#include <X11/extensions/shapeproto.h> 115extern void ShapeExtensionInit(void); 116 117#ifdef MITSHM 118#include <X11/extensions/shm.h> 119#include <X11/extensions/shmproto.h> 120extern _X_EXPORT Bool noMITShmExtension; 121extern void ShmExtensionInit(void); 122#endif 123 124extern void SyncExtensionInit(void); 125 126extern void XCMiscExtensionInit(void); 127 128#ifdef XCSECURITY 129#include <X11/extensions/secur.h> 130#include "securitysrv.h" 131extern _X_EXPORT Bool noSecurityExtension; 132extern void SecurityExtensionInit(void); 133#endif 134 135#ifdef XF86BIGFONT 136#include <X11/extensions/xf86bigfproto.h> 137extern _X_EXPORT Bool noXFree86BigfontExtension; 138extern void XFree86BigfontExtensionInit(void); 139#endif 140 141extern void BigReqExtensionInit(void); 142 143extern _X_EXPORT Bool noXFixesExtension; 144extern void XFixesExtensionInit(void); 145 146extern void XInputExtensionInit(void); 147extern _X_EXPORT void AssignTypeAndName(DeviceIntPtr dev, 148 Atom type, 149 const char *name); 150 151#include <X11/extensions/XKB.h> 152extern void XkbExtensionInit(void); 153 154#if defined(XSELINUX) 155#include "xselinux.h" 156extern _X_EXPORT Bool noSELinuxExtension; 157extern void SELinuxExtensionInit(void); 158#endif 159 160#ifdef XTEST 161#include <X11/extensions/xtestconst.h> 162#include <X11/extensions/xtestproto.h> 163extern void XTestExtensionInit(void); 164#endif 165 166#if defined(XV) 167#include <X11/extensions/Xv.h> 168#include <X11/extensions/XvMC.h> 169extern _X_EXPORT Bool noXvExtension; 170extern void XvExtensionInit(void); 171extern void XvMCExtensionInit(void); 172#endif 173 174#if defined(DRI3) 175#include <X11/extensions/dri3proto.h> 176extern void dri3_extension_init(void); 177#endif 178 179#if defined(PRESENT) 180#include <X11/extensions/presentproto.h> 181#include "presentext.h" 182#endif 183 184#endif 185