opaque.h revision b8e299dddd091ae24e0c08c45d91b8f937bd14d2
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/* $Xorg: opaque.h,v 1.4 2001/02/09 02:05:15 xorgcvs Exp $ */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCopyright 1987, 1998 The Open Group
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterPermission to use, copy, modify, distribute, and sell this software and its
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterdocumentation for any purpose is hereby granted without fee, provided that
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterthe above copyright notice appear in all copies and that both that
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fostercopyright notice and this permission notice appear in supporting
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterdocumentation.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterThe above copyright notice and this permission notice shall be included
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterin all copies or substantial portions of the Software.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterIN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterOTHER DEALINGS IN THE SOFTWARE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterExcept as contained in this notice, the name of The Open Group shall
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosternot be used in advertising or otherwise to promote the sale, use or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterother dealings in this Software without prior written authorization
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterfrom The Open Group.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster*/
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura/* $XFree86: xc/programs/Xserver/include/opaque.h,v 1.13 2003/07/24 13:50:25 eich Exp $ */
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#ifndef OPAQUE_H
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#define OPAQUE_H
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#include <X11/Xmd.h>
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#include "globals.h"
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern char *defaultTextFont;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern char *defaultCursorFont;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int MaxClients;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern volatile char isItTimeToYield;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern volatile char dispatchException;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/* bit values for dispatchException */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#define DE_RESET 1
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#define DE_TERMINATE 2
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#define DE_PRIORITYCHANGE 4 /* set when a client's priority changes */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern CARD32 TimeOutValue;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int ScreenSaverBlanking;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int ScreenSaverAllowExposures;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int defaultScreenSaverBlanking;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int defaultScreenSaverAllowExposures;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int argcGlobal;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern char **argvGlobal;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern char *display;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int defaultBackingStore;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern Bool disableBackingStore;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern Bool enableBackingStore;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern Bool disableSaveUnders;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern Bool PartialNetwork;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#ifndef NOLOGOHACK
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int logoScreenSaver;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#endif
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#ifdef RLIMIT_DATA
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int limitDataSpace;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#endif
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#ifdef RLIMIT_STACK
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int limitStackSpace;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#endif
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#ifdef RLIMIT_NOFILE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int limitNoFile;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#endif
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern Bool permitOldBugs;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern Bool defeatAccessControl;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern long maxBigRequestSize;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern Bool blackRoot;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern Bool CoreDump;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#endif /* OPAQUE_H */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster