Imported Upstream version 1.15.1
[deb_xorg-server.git] / include / opaque.h
1 /*
2
3 Copyright 1987, 1998 The Open Group
4
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.
10
11 The above copyright notice and this permission notice shall be included
12 in all copies or substantial portions of the Software.
13
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.
21
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.
26
27 */
28
29 #ifndef OPAQUE_H
30 #define OPAQUE_H
31
32 #include <X11/Xmd.h>
33
34 #include "globals.h"
35
36 extern _X_EXPORT char *defaultTextFont;
37 extern _X_EXPORT char *defaultCursorFont;
38 extern _X_EXPORT int MaxClients;
39 extern _X_EXPORT volatile char isItTimeToYield;
40 extern _X_EXPORT 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
47 extern _X_EXPORT CARD32 TimeOutValue;
48 extern _X_EXPORT int ScreenSaverBlanking;
49 extern _X_EXPORT int ScreenSaverAllowExposures;
50 extern _X_EXPORT int defaultScreenSaverBlanking;
51 extern _X_EXPORT int defaultScreenSaverAllowExposures;
52 extern _X_EXPORT char *display;
53 extern _X_EXPORT int displayfd;
54
55 extern _X_EXPORT int defaultBackingStore;
56 extern _X_EXPORT Bool disableBackingStore;
57 extern _X_EXPORT Bool enableBackingStore;
58 extern _X_EXPORT Bool PartialNetwork;
59 extern _X_EXPORT Bool RunFromSigStopParent;
60
61 #ifdef RLIMIT_DATA
62 extern _X_EXPORT int limitDataSpace;
63 #endif
64 #ifdef RLIMIT_STACK
65 extern _X_EXPORT int limitStackSpace;
66 #endif
67 #ifdef RLIMIT_NOFILE
68 extern _X_EXPORT int limitNoFile;
69 #endif
70 extern _X_EXPORT Bool defeatAccessControl;
71 extern _X_EXPORT long maxBigRequestSize;
72 extern _X_EXPORT Bool party_like_its_1989;
73 extern _X_EXPORT Bool whiteRoot;
74 extern _X_EXPORT Bool bgNoneRoot;
75
76 extern _X_EXPORT Bool CoreDump;
77
78 #endif /* OPAQUE_H */