65fea56f17cd614bc8908264df980a62e1931468vboxsync/************************************************************
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCopyright 1996 by Thomas E. Dickey <dickey@clark.net>
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync All Rights Reserved
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncPermission to use, copy, modify, and distribute this software and its
65fea56f17cd614bc8908264df980a62e1931468vboxsyncdocumentation for any purpose and without fee is hereby granted,
65fea56f17cd614bc8908264df980a62e1931468vboxsyncprovided that the above copyright notice appear in all copies and that
65fea56f17cd614bc8908264df980a62e1931468vboxsyncboth that copyright notice and this permission notice appear in
65fea56f17cd614bc8908264df980a62e1931468vboxsyncsupporting documentation, and that the name of the above listed
65fea56f17cd614bc8908264df980a62e1931468vboxsynccopyright holder(s) not be used in advertising or publicity pertaining
65fea56f17cd614bc8908264df980a62e1931468vboxsyncto distribution of the software without specific, written prior
65fea56f17cd614bc8908264df980a62e1931468vboxsyncpermission.
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
65fea56f17cd614bc8908264df980a62e1931468vboxsyncTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
65fea56f17cd614bc8908264df980a62e1931468vboxsyncAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
65fea56f17cd614bc8908264df980a62e1931468vboxsyncLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
65fea56f17cd614bc8908264df980a62e1931468vboxsyncWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
65fea56f17cd614bc8908264df980a62e1931468vboxsyncACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
65fea56f17cd614bc8908264df980a62e1931468vboxsyncOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync********************************************************/
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/*
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright (C) 1994-2003 The XFree86 Project, Inc. All Rights Reserved.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Permission is hereby granted, free of charge, to any person obtaining a copy of
65fea56f17cd614bc8908264df980a62e1931468vboxsync * this software and associated documentation files (the "Software"), to deal in
65fea56f17cd614bc8908264df980a62e1931468vboxsync * the Software without restriction, including without limitation the rights to
65fea56f17cd614bc8908264df980a62e1931468vboxsync * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
65fea56f17cd614bc8908264df980a62e1931468vboxsync * of the Software, and to permit persons to whom the Software is furnished to do
65fea56f17cd614bc8908264df980a62e1931468vboxsync * so, subject to the following conditions:
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * The above copyright notice and this permission notice shall be included in all
65fea56f17cd614bc8908264df980a62e1931468vboxsync * copies or substantial portions of the Software.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
65fea56f17cd614bc8908264df980a62e1931468vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
65fea56f17cd614bc8908264df980a62e1931468vboxsync * NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
65fea56f17cd614bc8908264df980a62e1931468vboxsync * XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
65fea56f17cd614bc8908264df980a62e1931468vboxsync * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
65fea56f17cd614bc8908264df980a62e1931468vboxsync * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Except as contained in this notice, the name of the XFree86 Project shall not
65fea56f17cd614bc8908264df980a62e1931468vboxsync * be used in advertising or otherwise to promote the sale, use or other dealings
65fea56f17cd614bc8908264df980a62e1931468vboxsync * in this Software without prior written authorization from the XFree86 Project.
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifndef EXTINIT_H
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define EXTINIT_H
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include "extnsionst.h"
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef COMPOSITE
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noCompositeExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void CompositeExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef DAMAGE
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noDamageExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void DamageExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if defined(DBE)
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noDbeExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void DbeExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if defined(DPMSExtension)
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/dpmsconst.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noDPMSExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void DPMSExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern Bool noGEExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void GEExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef GLXEXT
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noGlxExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef PANORAMIX
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/panoramiXproto.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noPanoramiXExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void PanoramiXExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef RANDR
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noRRExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void RRExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if defined(XRECORD)
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void RecordExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noRenderExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void RenderExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if defined(RES)
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/XResproto.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noResExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void ResExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if defined(SCREENSAVER)
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/saver.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noScreenSaverExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void ScreenSaverExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/shapeproto.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void ShapeExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef MITSHM
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/shm.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/shmproto.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noMITShmExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void ShmExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void SyncExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void XCMiscExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef XCSECURITY
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/secur.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include "securitysrv.h"
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noSecurityExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void SecurityExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef XF86BIGFONT
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/xf86bigfproto.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noXFree86BigfontExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void XFree86BigfontExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void BigReqExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noXFixesExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void XFixesExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void XInputExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void AssignTypeAndName(DeviceIntPtr dev,
65fea56f17cd614bc8908264df980a62e1931468vboxsync Atom type,
65fea56f17cd614bc8908264df980a62e1931468vboxsync const char *name);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/XKB.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void XkbExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if defined(XSELINUX)
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include "xselinux.h"
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noSELinuxExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void SELinuxExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef XTEST
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/xtestconst.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/xtestproto.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void XTestExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef INXQUARTZ
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noPseudoramiXExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void PseudoramiXExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if defined(XV)
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/Xv.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/XvMC.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool noXvExtension;
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void XvExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void XvMCExtensionInit(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if defined(DRI3)
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/dri3proto.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern void dri3_extension_init(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if defined(PRESENT)
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/extensions/presentproto.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include "presentext.h"
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif