opaque.h revision 05b261ec
105b261ecSmrg/*
205b261ecSmrg
305b261ecSmrgCopyright 1987, 1998  The Open Group
405b261ecSmrg
505b261ecSmrgPermission to use, copy, modify, distribute, and sell this software and its
605b261ecSmrgdocumentation for any purpose is hereby granted without fee, provided that
705b261ecSmrgthe above copyright notice appear in all copies and that both that
805b261ecSmrgcopyright notice and this permission notice appear in supporting
905b261ecSmrgdocumentation.
1005b261ecSmrg
1105b261ecSmrgThe above copyright notice and this permission notice shall be included
1205b261ecSmrgin all copies or substantial portions of the Software.
1305b261ecSmrg
1405b261ecSmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1505b261ecSmrgOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1605b261ecSmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1705b261ecSmrgIN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
1805b261ecSmrgOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1905b261ecSmrgARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2005b261ecSmrgOTHER DEALINGS IN THE SOFTWARE.
2105b261ecSmrg
2205b261ecSmrgExcept as contained in this notice, the name of The Open Group shall
2305b261ecSmrgnot be used in advertising or otherwise to promote the sale, use or
2405b261ecSmrgother dealings in this Software without prior written authorization
2505b261ecSmrgfrom The Open Group.
2605b261ecSmrg
2705b261ecSmrg*/
2805b261ecSmrg
2905b261ecSmrg#ifndef OPAQUE_H
3005b261ecSmrg#define OPAQUE_H
3105b261ecSmrg
3205b261ecSmrg#include <X11/Xmd.h>
3305b261ecSmrg
3405b261ecSmrg#include "globals.h"
3505b261ecSmrg
3605b261ecSmrgextern char *defaultTextFont;
3705b261ecSmrgextern char *defaultCursorFont;
3805b261ecSmrgextern int MaxClients;
3905b261ecSmrgextern volatile char isItTimeToYield;
4005b261ecSmrgextern volatile char dispatchException;
4105b261ecSmrg
4205b261ecSmrg/* bit values for dispatchException */
4305b261ecSmrg#define DE_RESET     1
4405b261ecSmrg#define DE_TERMINATE 2
4505b261ecSmrg#define DE_PRIORITYCHANGE 4  /* set when a client's priority changes */
4605b261ecSmrg
4705b261ecSmrgextern CARD32 TimeOutValue;
4805b261ecSmrgextern int ScreenSaverBlanking;
4905b261ecSmrgextern int ScreenSaverAllowExposures;
5005b261ecSmrgextern int defaultScreenSaverBlanking;
5105b261ecSmrgextern int defaultScreenSaverAllowExposures;
5205b261ecSmrgextern int argcGlobal;
5305b261ecSmrgextern char **argvGlobal;
5405b261ecSmrgextern char *display;
5505b261ecSmrg
5605b261ecSmrgextern int defaultBackingStore;
5705b261ecSmrgextern Bool disableBackingStore;
5805b261ecSmrgextern Bool enableBackingStore;
5905b261ecSmrgextern Bool disableSaveUnders;
6005b261ecSmrgextern Bool PartialNetwork;
6105b261ecSmrg#ifndef NOLOGOHACK
6205b261ecSmrgextern int logoScreenSaver;
6305b261ecSmrg#endif
6405b261ecSmrg#ifdef RLIMIT_DATA
6505b261ecSmrgextern int limitDataSpace;
6605b261ecSmrg#endif
6705b261ecSmrg#ifdef RLIMIT_STACK
6805b261ecSmrgextern int limitStackSpace;
6905b261ecSmrg#endif
7005b261ecSmrg#ifdef RLIMIT_NOFILE
7105b261ecSmrgextern int limitNoFile;
7205b261ecSmrg#endif
7305b261ecSmrgextern Bool defeatAccessControl;
7405b261ecSmrgextern long maxBigRequestSize;
7505b261ecSmrgextern Bool blackRoot;
7605b261ecSmrgextern Bool whiteRoot;
7705b261ecSmrg
7805b261ecSmrgextern Bool CoreDump;
7905b261ecSmrg
8005b261ecSmrg
8105b261ecSmrg#endif /* OPAQUE_H */
82