xf86.h revision 45e9809aff7304721fddb95654901b32195c9c7a
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Copyright (c) 1997-2003 by The XFree86 Project, Inc.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * copy of this software and associated documentation files (the "Software"),
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * to deal in the Software without restriction, including without limitation
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * and/or sell copies of the Software, and to permit persons to whom the
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Software is furnished to do so, subject to the following conditions:
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * The above copyright notice and this permission notice shall be included in
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * all copies or substantial portions of the Software.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * OTHER DEALINGS IN THE SOFTWARE.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Except as contained in this notice, the name of the copyright holder(s)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * and author(s) shall not be used in advertising or otherwise to promote
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * the sale, use or other dealings in this Software without prior written
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * authorization from the copyright holder(s) and author(s).
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * This file contains declarations for public XFree86 functions and variables,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * and definitions of public macros.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * "public" means available to video drivers.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* General parameters */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncextern _X_EXPORT DevPrivateKey xf86CreateRootWindowKey;
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncextern _X_EXPORT ScrnInfoPtr *xf86Screens; /* List of pointers to ScrnInfoRecs */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncextern _X_EXPORT const unsigned char byte_reversed[256];
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncextern _X_EXPORT Bool VTSwitchEnabled; /* kbd driver */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#define XF86SCRNINFO(p) ((ScrnInfoPtr)dixLookupPrivate(&(p)->devPrivates, \
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync pScreen->whitePixel = (pScreen->whitePixel) ? 0 : 1; \
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync pScreen->blackPixel = (pScreen->blackPixel) ? 0 : 1; \
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Function Prototypes */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncextern _X_EXPORT Bool xf86CheckPciSlot( const struct pci_device * );
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncextern _X_EXPORT int xf86ClaimPciSlot( struct pci_device *, DriverPtr drvp,
int *func);
int instance);
/* xf86Configure.c */
/* xf86Cursor.c */
/* xf86cvt.c */
/* xf86DPMS.c */
#ifdef DPMSExtension
/* xf86DGA.c */
#ifdef XFreeXDGA
int num);
/* xf86Events.c */
/* xf86Helper.c */
int depth24flags);
int **foundEntities);
/* xf86Init.c */
/* xf86Mode.c */
int virtualY);
int flags);
/* xf86Option.c */
/* xf86RandR.c */
#ifdef RANDR