extinit.h revision 35c4bbdf
105b261ecSmrg/************************************************************ 205b261ecSmrg 305b261ecSmrgCopyright 1996 by Thomas E. Dickey <dickey@clark.net> 405b261ecSmrg 505b261ecSmrg All Rights Reserved 605b261ecSmrg 705b261ecSmrgPermission to use, copy, modify, and distribute this software and its 805b261ecSmrgdocumentation for any purpose and without fee is hereby granted, 905b261ecSmrgprovided that the above copyright notice appear in all copies and that 1005b261ecSmrgboth that copyright notice and this permission notice appear in 1105b261ecSmrgsupporting documentation, and that the name of the above listed 1205b261ecSmrgcopyright holder(s) not be used in advertising or publicity pertaining 1305b261ecSmrgto distribution of the software without specific, written prior 1405b261ecSmrgpermission. 1505b261ecSmrg 1605b261ecSmrgTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD 1705b261ecSmrgTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 1805b261ecSmrgAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE 1905b261ecSmrgLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 2005b261ecSmrgWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 2105b261ecSmrgACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 2205b261ecSmrgOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 2305b261ecSmrg 2405b261ecSmrg********************************************************/ 2505b261ecSmrg 2635c4bbdfSmrg/* 2735c4bbdfSmrg * Copyright (C) 1994-2003 The XFree86 Project, Inc. All Rights Reserved. 2835c4bbdfSmrg * 2935c4bbdfSmrg * Permission is hereby granted, free of charge, to any person obtaining a copy of 3035c4bbdfSmrg * this software and associated documentation files (the "Software"), to deal in 3135c4bbdfSmrg * the Software without restriction, including without limitation the rights to 3235c4bbdfSmrg * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 3335c4bbdfSmrg * of the Software, and to permit persons to whom the Software is furnished to do 3435c4bbdfSmrg * so, subject to the following conditions: 3535c4bbdfSmrg * 3635c4bbdfSmrg * The above copyright notice and this permission notice shall be included in all 3735c4bbdfSmrg * copies or substantial portions of the Software. 3835c4bbdfSmrg * 3935c4bbdfSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 4035c4bbdfSmrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- 4135c4bbdfSmrg * NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 4235c4bbdfSmrg * XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 4335c4bbdfSmrg * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 4435c4bbdfSmrg * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 4535c4bbdfSmrg * 4635c4bbdfSmrg * Except as contained in this notice, the name of the XFree86 Project shall not 4735c4bbdfSmrg * be used in advertising or otherwise to promote the sale, use or other dealings 4835c4bbdfSmrg * in this Software without prior written authorization from the XFree86 Project. 4905b261ecSmrg */ 5005b261ecSmrg 5105b261ecSmrg#ifndef EXTINIT_H 5205b261ecSmrg#define EXTINIT_H 5305b261ecSmrg 5405b261ecSmrg#include "extnsionst.h" 5505b261ecSmrg 5635c4bbdfSmrg#ifdef COMPOSITE 5735c4bbdfSmrgextern _X_EXPORT Bool noCompositeExtension; 5835c4bbdfSmrgextern void CompositeExtensionInit(void); 5935c4bbdfSmrg#endif 6005b261ecSmrg 6135c4bbdfSmrg#ifdef DAMAGE 6235c4bbdfSmrgextern _X_EXPORT Bool noDamageExtension; 6335c4bbdfSmrgextern void DamageExtensionInit(void); 6435c4bbdfSmrg#endif 6505b261ecSmrg 6635c4bbdfSmrg#if defined(DBE) 6735c4bbdfSmrgextern _X_EXPORT Bool noDbeExtension; 6835c4bbdfSmrgextern void DbeExtensionInit(void); 6935c4bbdfSmrg#endif 7035c4bbdfSmrg 7135c4bbdfSmrg#if defined(DPMSExtension) 7235c4bbdfSmrg#include <X11/extensions/dpmsconst.h> 7335c4bbdfSmrgextern _X_EXPORT Bool noDPMSExtension; 7435c4bbdfSmrgextern void DPMSExtensionInit(void); 7535c4bbdfSmrg#endif 7635c4bbdfSmrg 7735c4bbdfSmrgextern Bool noGEExtension; 7835c4bbdfSmrgextern void GEExtensionInit(void); 7935c4bbdfSmrg 8035c4bbdfSmrg#ifdef GLXEXT 8135c4bbdfSmrgextern _X_EXPORT Bool noGlxExtension; 8235c4bbdfSmrg#endif 8335c4bbdfSmrg 8435c4bbdfSmrg#ifdef PANORAMIX 8535c4bbdfSmrg#include <X11/extensions/panoramiXproto.h> 8635c4bbdfSmrgextern _X_EXPORT Bool noPanoramiXExtension; 8735c4bbdfSmrgextern void PanoramiXExtensionInit(void); 8835c4bbdfSmrg#endif 8935c4bbdfSmrg 9035c4bbdfSmrg#ifdef RANDR 9135c4bbdfSmrgextern _X_EXPORT Bool noRRExtension; 9235c4bbdfSmrgextern void RRExtensionInit(void); 9335c4bbdfSmrg#endif 9435c4bbdfSmrg 9535c4bbdfSmrg#if defined(XRECORD) 9635c4bbdfSmrgextern void RecordExtensionInit(void); 9735c4bbdfSmrg#endif 9835c4bbdfSmrg 9935c4bbdfSmrgextern _X_EXPORT Bool noRenderExtension; 10035c4bbdfSmrgextern void RenderExtensionInit(void); 10135c4bbdfSmrg 10235c4bbdfSmrg#if defined(RES) 10335c4bbdfSmrg#include <X11/extensions/XResproto.h> 10435c4bbdfSmrgextern _X_EXPORT Bool noResExtension; 10535c4bbdfSmrgextern void ResExtensionInit(void); 10635c4bbdfSmrg#endif 10735c4bbdfSmrg 10835c4bbdfSmrg#if defined(SCREENSAVER) 10935c4bbdfSmrg#include <X11/extensions/saver.h> 11035c4bbdfSmrgextern _X_EXPORT Bool noScreenSaverExtension; 11135c4bbdfSmrgextern void ScreenSaverExtensionInit(void); 11235c4bbdfSmrg#endif 11335c4bbdfSmrg 11435c4bbdfSmrg#include <X11/extensions/shapeproto.h> 11535c4bbdfSmrgextern void ShapeExtensionInit(void); 11635c4bbdfSmrg 11735c4bbdfSmrg#ifdef MITSHM 11835c4bbdfSmrg#include <X11/extensions/shm.h> 11935c4bbdfSmrg#include <X11/extensions/shmproto.h> 12035c4bbdfSmrgextern _X_EXPORT Bool noMITShmExtension; 12135c4bbdfSmrgextern void ShmExtensionInit(void); 12235c4bbdfSmrg#endif 12335c4bbdfSmrg 12435c4bbdfSmrgextern void SyncExtensionInit(void); 12535c4bbdfSmrg 12635c4bbdfSmrgextern void XCMiscExtensionInit(void); 12735c4bbdfSmrg 12835c4bbdfSmrg#ifdef XCSECURITY 12935c4bbdfSmrg#include <X11/extensions/secur.h> 13035c4bbdfSmrg#include "securitysrv.h" 13135c4bbdfSmrgextern _X_EXPORT Bool noSecurityExtension; 13235c4bbdfSmrgextern void SecurityExtensionInit(void); 13335c4bbdfSmrg#endif 13435c4bbdfSmrg 13535c4bbdfSmrg#ifdef XF86BIGFONT 13635c4bbdfSmrg#include <X11/extensions/xf86bigfproto.h> 13735c4bbdfSmrgextern _X_EXPORT Bool noXFree86BigfontExtension; 13835c4bbdfSmrgextern void XFree86BigfontExtensionInit(void); 13935c4bbdfSmrg#endif 14035c4bbdfSmrg 14135c4bbdfSmrgextern void BigReqExtensionInit(void); 14235c4bbdfSmrg 14335c4bbdfSmrgextern _X_EXPORT Bool noXFixesExtension; 14435c4bbdfSmrgextern void XFixesExtensionInit(void); 14535c4bbdfSmrg 14635c4bbdfSmrgextern void XInputExtensionInit(void); 14735c4bbdfSmrgextern _X_EXPORT void AssignTypeAndName(DeviceIntPtr dev, 14835c4bbdfSmrg Atom type, 14935c4bbdfSmrg const char *name); 15035c4bbdfSmrg 15135c4bbdfSmrg#include <X11/extensions/XKB.h> 15235c4bbdfSmrgextern void XkbExtensionInit(void); 15335c4bbdfSmrg 15435c4bbdfSmrg#if defined(XSELINUX) 15535c4bbdfSmrg#include "xselinux.h" 15635c4bbdfSmrgextern _X_EXPORT Bool noSELinuxExtension; 15735c4bbdfSmrgextern void SELinuxExtensionInit(void); 15835c4bbdfSmrg#endif 15935c4bbdfSmrg 16035c4bbdfSmrg#ifdef XTEST 16135c4bbdfSmrg#include <X11/extensions/xtestconst.h> 16235c4bbdfSmrg#include <X11/extensions/xtestproto.h> 16335c4bbdfSmrgextern void XTestExtensionInit(void); 16435c4bbdfSmrg#endif 16535c4bbdfSmrg 16635c4bbdfSmrg#if defined(XV) 16735c4bbdfSmrg#include <X11/extensions/Xv.h> 16835c4bbdfSmrg#include <X11/extensions/XvMC.h> 16935c4bbdfSmrgextern _X_EXPORT Bool noXvExtension; 17035c4bbdfSmrgextern void XvExtensionInit(void); 17135c4bbdfSmrgextern void XvMCExtensionInit(void); 17235c4bbdfSmrg#endif 17335c4bbdfSmrg 17435c4bbdfSmrg#if defined(DRI3) 17535c4bbdfSmrg#include <X11/extensions/dri3proto.h> 17635c4bbdfSmrgextern void dri3_extension_init(void); 17735c4bbdfSmrg#endif 17835c4bbdfSmrg 17935c4bbdfSmrg#if defined(PRESENT) 18035c4bbdfSmrg#include <X11/extensions/presentproto.h> 18135c4bbdfSmrg#include "presentext.h" 18235c4bbdfSmrg#endif 18335c4bbdfSmrg 18435c4bbdfSmrg#endif 185