Imported Upstream version 1.15.1
[deb_xorg-server.git] / include / opaque.h
CommitLineData
a09e091a
JB
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 _X_EXPORT char *defaultTextFont;
37extern _X_EXPORT char *defaultCursorFont;
38extern _X_EXPORT int MaxClients;
39extern _X_EXPORT volatile char isItTimeToYield;
40extern _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
47extern _X_EXPORT CARD32 TimeOutValue;
48extern _X_EXPORT int ScreenSaverBlanking;
49extern _X_EXPORT int ScreenSaverAllowExposures;
50extern _X_EXPORT int defaultScreenSaverBlanking;
51extern _X_EXPORT int defaultScreenSaverAllowExposures;
52extern _X_EXPORT char *display;
53extern _X_EXPORT int displayfd;
54
55extern _X_EXPORT int defaultBackingStore;
56extern _X_EXPORT Bool disableBackingStore;
57extern _X_EXPORT Bool enableBackingStore;
58extern _X_EXPORT Bool PartialNetwork;
59extern _X_EXPORT Bool RunFromSigStopParent;
60
61#ifdef RLIMIT_DATA
62extern _X_EXPORT int limitDataSpace;
63#endif
64#ifdef RLIMIT_STACK
65extern _X_EXPORT int limitStackSpace;
66#endif
67#ifdef RLIMIT_NOFILE
68extern _X_EXPORT int limitNoFile;
69#endif
70extern _X_EXPORT Bool defeatAccessControl;
71extern _X_EXPORT long maxBigRequestSize;
72extern _X_EXPORT Bool party_like_its_1989;
73extern _X_EXPORT Bool whiteRoot;
74extern _X_EXPORT Bool bgNoneRoot;
75
76extern _X_EXPORT Bool CoreDump;
77
78#endif /* OPAQUE_H */