opaque.h revision 05b261ec
1/* 2 3Copyright 1987, 1998 The Open Group 4 5Permission to use, copy, modify, distribute, and sell this software and its 6documentation for any purpose is hereby granted without fee, provided that 7the above copyright notice appear in all copies and that both that 8copyright notice and this permission notice appear in supporting 9documentation. 10 11The above copyright notice and this permission notice shall be included 12in all copies or substantial portions of the Software. 13 14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 17IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 18OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20OTHER DEALINGS IN THE SOFTWARE. 21 22Except as contained in this notice, the name of The Open Group shall 23not be used in advertising or otherwise to promote the sale, use or 24other dealings in this Software without prior written authorization 25from The Open Group. 26 27*/ 28 29#ifndef OPAQUE_H 30#define OPAQUE_H 31 32#include <X11/Xmd.h> 33 34#include "globals.h" 35 36extern char *defaultTextFont; 37extern char *defaultCursorFont; 38extern int MaxClients; 39extern volatile char isItTimeToYield; 40extern volatile char dispatchException; 41 42/* bit values for dispatchException */ 43#define DE_RESET 1 44#define DE_TERMINATE 2 45#define DE_PRIORITYCHANGE 4 /* set when a client's priority changes */ 46 47extern CARD32 TimeOutValue; 48extern int ScreenSaverBlanking; 49extern int ScreenSaverAllowExposures; 50extern int defaultScreenSaverBlanking; 51extern int defaultScreenSaverAllowExposures; 52extern int argcGlobal; 53extern char **argvGlobal; 54extern char *display; 55 56extern int defaultBackingStore; 57extern Bool disableBackingStore; 58extern Bool enableBackingStore; 59extern Bool disableSaveUnders; 60extern Bool PartialNetwork; 61#ifndef NOLOGOHACK 62extern int logoScreenSaver; 63#endif 64#ifdef RLIMIT_DATA 65extern int limitDataSpace; 66#endif 67#ifdef RLIMIT_STACK 68extern int limitStackSpace; 69#endif 70#ifdef RLIMIT_NOFILE 71extern int limitNoFile; 72#endif 73extern Bool defeatAccessControl; 74extern long maxBigRequestSize; 75extern Bool blackRoot; 76extern Bool whiteRoot; 77 78extern Bool CoreDump; 79 80 81#endif /* OPAQUE_H */ 82