| 1 | /************************************************************ |
| 2 | |
| 3 | Copyright 1996 by Thomas E. Dickey <dickey@clark.net> |
| 4 | |
| 5 | All Rights Reserved |
| 6 | |
| 7 | Permission to use, copy, modify, and distribute this software and its |
| 8 | documentation for any purpose and without fee is hereby granted, |
| 9 | provided that the above copyright notice appear in all copies and that |
| 10 | both that copyright notice and this permission notice appear in |
| 11 | supporting documentation, and that the name of the above listed |
| 12 | copyright holder(s) not be used in advertising or publicity pertaining |
| 13 | to distribution of the software without specific, written prior |
| 14 | permission. |
| 15 | |
| 16 | THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD |
| 17 | TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY |
| 18 | AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE |
| 19 | LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 20 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 21 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 22 | OR 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 |
| 57 | extern _X_EXPORT Bool noCompositeExtension; |
| 58 | extern void CompositeExtensionInit(void); |
| 59 | #endif |
| 60 | |
| 61 | #ifdef DAMAGE |
| 62 | extern _X_EXPORT Bool noDamageExtension; |
| 63 | extern void DamageExtensionInit(void); |
| 64 | #endif |
| 65 | |
| 66 | #if defined(DBE) |
| 67 | extern _X_EXPORT Bool noDbeExtension; |
| 68 | extern void DbeExtensionInit(void); |
| 69 | #endif |
| 70 | |
| 71 | #if defined(DPMSExtension) |
| 72 | #include <X11/extensions/dpmsconst.h> |
| 73 | extern _X_EXPORT Bool noDPMSExtension; |
| 74 | extern void DPMSExtensionInit(void); |
| 75 | #endif |
| 76 | |
| 77 | extern Bool noGEExtension; |
| 78 | extern void GEExtensionInit(void); |
| 79 | |
| 80 | #ifdef GLXEXT |
| 81 | extern _X_EXPORT Bool noGlxExtension; |
| 82 | #endif |
| 83 | |
| 84 | #ifdef PANORAMIX |
| 85 | #include <X11/extensions/panoramiXproto.h> |
| 86 | extern _X_EXPORT Bool noPanoramiXExtension; |
| 87 | extern void PanoramiXExtensionInit(void); |
| 88 | #endif |
| 89 | |
| 90 | #ifdef RANDR |
| 91 | extern _X_EXPORT Bool noRRExtension; |
| 92 | extern void RRExtensionInit(void); |
| 93 | #endif |
| 94 | |
| 95 | #if defined(XRECORD) |
| 96 | extern void RecordExtensionInit(void); |
| 97 | #endif |
| 98 | |
| 99 | extern _X_EXPORT Bool noRenderExtension; |
| 100 | extern void RenderExtensionInit(void); |
| 101 | |
| 102 | #if defined(RES) |
| 103 | #include <X11/extensions/XResproto.h> |
| 104 | extern _X_EXPORT Bool noResExtension; |
| 105 | extern void ResExtensionInit(void); |
| 106 | #endif |
| 107 | |
| 108 | #if defined(SCREENSAVER) |
| 109 | #include <X11/extensions/saver.h> |
| 110 | extern _X_EXPORT Bool noScreenSaverExtension; |
| 111 | extern void ScreenSaverExtensionInit(void); |
| 112 | #endif |
| 113 | |
| 114 | #include <X11/extensions/shapeproto.h> |
| 115 | extern void ShapeExtensionInit(void); |
| 116 | |
| 117 | #ifdef MITSHM |
| 118 | #include <X11/extensions/shm.h> |
| 119 | #include <X11/extensions/shmproto.h> |
| 120 | extern _X_EXPORT Bool noMITShmExtension; |
| 121 | extern void ShmExtensionInit(void); |
| 122 | #endif |
| 123 | |
| 124 | extern void SyncExtensionInit(void); |
| 125 | |
| 126 | extern void XCMiscExtensionInit(void); |
| 127 | |
| 128 | #ifdef XCSECURITY |
| 129 | #include <X11/extensions/secur.h> |
| 130 | #include "securitysrv.h" |
| 131 | extern _X_EXPORT Bool noSecurityExtension; |
| 132 | extern void SecurityExtensionInit(void); |
| 133 | #endif |
| 134 | |
| 135 | #ifdef XF86BIGFONT |
| 136 | #include <X11/extensions/xf86bigfproto.h> |
| 137 | extern _X_EXPORT Bool noXFree86BigfontExtension; |
| 138 | extern void XFree86BigfontExtensionInit(void); |
| 139 | #endif |
| 140 | |
| 141 | extern void BigReqExtensionInit(void); |
| 142 | |
| 143 | extern _X_EXPORT Bool noXFixesExtension; |
| 144 | extern void XFixesExtensionInit(void); |
| 145 | |
| 146 | extern void XInputExtensionInit(void); |
| 147 | extern _X_EXPORT void AssignTypeAndName(DeviceIntPtr dev, |
| 148 | Atom type, |
| 149 | const char *name); |
| 150 | |
| 151 | #include <X11/extensions/XKB.h> |
| 152 | extern void XkbExtensionInit(void); |
| 153 | |
| 154 | #if defined(XSELINUX) |
| 155 | #include "xselinux.h" |
| 156 | extern _X_EXPORT Bool noSELinuxExtension; |
| 157 | extern void SELinuxExtensionInit(void); |
| 158 | #endif |
| 159 | |
| 160 | #ifdef XTEST |
| 161 | #include <X11/extensions/xtestconst.h> |
| 162 | #include <X11/extensions/xtestproto.h> |
| 163 | extern void XTestExtensionInit(void); |
| 164 | #endif |
| 165 | |
| 166 | #ifdef INXQUARTZ |
| 167 | extern _X_EXPORT Bool noPseudoramiXExtension; |
| 168 | extern void PseudoramiXExtensionInit(void); |
| 169 | #endif |
| 170 | |
| 171 | #if defined(XV) |
| 172 | #include <X11/extensions/Xv.h> |
| 173 | #include <X11/extensions/XvMC.h> |
| 174 | extern _X_EXPORT Bool noXvExtension; |
| 175 | extern void XvExtensionInit(void); |
| 176 | extern void XvMCExtensionInit(void); |
| 177 | #endif |
| 178 | |
| 179 | #if defined(DRI3) |
| 180 | #include <X11/extensions/dri3proto.h> |
| 181 | extern void dri3_extension_init(void); |
| 182 | #endif |
| 183 | |
| 184 | #if defined(PRESENT) |
| 185 | #include <X11/extensions/presentproto.h> |
| 186 | #include "presentext.h" |
| 187 | #endif |
| 188 | |
| 189 | #endif |