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