mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-03 03:24:39 +00:00
Move extension initialisation prototypes into extinit.h
Create extinit.h (and xf86Extensions.h, for Xorg-specific extensions) to hold all our extension initialisation prototypes, rather than duplicating them everywhere. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
b86aa74caf
commit
a1d41e311c
65 changed files with 264 additions and 274 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <signal.h>
|
||||
|
||||
#include "window.h" /* for WindowPtr */
|
||||
#include "extinit.h"
|
||||
|
||||
/* Global X server variables that are visible to mi, dix, os, and ddx */
|
||||
|
||||
|
|
@ -41,79 +42,7 @@ extern _X_EXPORT Bool DPMSCapableFlag;
|
|||
extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
|
||||
#endif
|
||||
|
||||
#ifdef COMPOSITE
|
||||
extern _X_EXPORT Bool noCompositeExtension;
|
||||
#endif
|
||||
|
||||
#ifdef DAMAGE
|
||||
extern _X_EXPORT Bool noDamageExtension;
|
||||
#endif
|
||||
|
||||
#ifdef DBE
|
||||
extern _X_EXPORT Bool noDbeExtension;
|
||||
#endif
|
||||
|
||||
#ifdef DPMSExtension
|
||||
extern _X_EXPORT Bool noDPMSExtension;
|
||||
#endif
|
||||
|
||||
#ifdef GLXEXT
|
||||
extern _X_EXPORT Bool noGlxExtension;
|
||||
#endif
|
||||
|
||||
#ifdef SCREENSAVER
|
||||
extern _X_EXPORT Bool noScreenSaverExtension;
|
||||
#endif
|
||||
|
||||
#ifdef MITSHM
|
||||
extern _X_EXPORT Bool noMITShmExtension;
|
||||
#endif
|
||||
|
||||
#ifdef RANDR
|
||||
extern _X_EXPORT Bool noRRExtension;
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT Bool noRenderExtension;
|
||||
|
||||
#ifdef XCSECURITY
|
||||
extern _X_EXPORT Bool noSecurityExtension;
|
||||
#endif
|
||||
|
||||
#ifdef RES
|
||||
extern _X_EXPORT Bool noResExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XF86BIGFONT
|
||||
extern _X_EXPORT Bool noXFree86BigfontExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XFreeXDGA
|
||||
extern _X_EXPORT Bool noXFree86DGAExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XF86DRI
|
||||
extern _X_EXPORT Bool noXFree86DRIExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XF86VIDMODE
|
||||
extern _X_EXPORT Bool noXFree86VidModeExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XFIXES
|
||||
extern _X_EXPORT Bool noXFixesExtension;
|
||||
#endif
|
||||
|
||||
#ifdef PANORAMIX
|
||||
extern _X_EXPORT Bool noPanoramiXExtension;
|
||||
#endif
|
||||
|
||||
#ifdef INXQUARTZ
|
||||
extern _X_EXPORT Bool noPseudoramiXExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XSELINUX
|
||||
extern _X_EXPORT Bool noSELinuxExtension;
|
||||
|
||||
#define SELINUX_MODE_DEFAULT 0
|
||||
#define SELINUX_MODE_DISABLED 1
|
||||
#define SELINUX_MODE_PERMISSIVE 2
|
||||
|
|
@ -121,12 +50,4 @@ extern _X_EXPORT Bool noSELinuxExtension;
|
|||
extern _X_EXPORT int selinuxEnforcingState;
|
||||
#endif
|
||||
|
||||
#ifdef XV
|
||||
extern _X_EXPORT Bool noXvExtension;
|
||||
#endif
|
||||
|
||||
#ifdef DRI2
|
||||
extern _X_EXPORT Bool noDRI2Extension;
|
||||
#endif
|
||||
|
||||
#endif /* !_XSERV_GLOBAL_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue