exglobals.h revision ed6184df
1/************************************************************ 2 3Copyright 1996 by Thomas E. Dickey <dickey@clark.net> 4 5 All Rights Reserved 6 7Permission to use, copy, modify, and distribute this software and its 8documentation for any purpose and without fee is hereby granted, 9provided that the above copyright notice appear in all copies and that 10both that copyright notice and this permission notice appear in 11supporting documentation, and that the name of the above listed 12copyright holder(s) not be used in advertising or publicity pertaining 13to distribution of the software without specific, written prior 14permission. 15 16THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD 17TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 18AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE 19LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 20WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 21ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 22OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 23 24********************************************************/ 25 26/***************************************************************** 27 * 28 * Globals referenced elsewhere in the server. 29 * 30 */ 31#ifdef HAVE_DIX_CONFIG_H 32#include <dix-config.h> 33#endif 34#include "privates.h" 35 36#ifndef EXGLOBALS_H 37#define EXGLOBALS_H 1 38 39extern int IReqCode; 40extern int IEventBase; 41extern int BadDevice; 42extern int BadMode; 43extern int DeviceBusy; 44extern int BadClass; 45 46/* Note: only the ones needed in files other than extinit.c are declared */ 47extern const Mask DevicePointerMotionHintMask; 48extern const Mask DeviceFocusChangeMask; 49extern const Mask DeviceStateNotifyMask; 50extern const Mask DeviceMappingNotifyMask; 51extern const Mask DeviceOwnerGrabButtonMask; 52extern const Mask DeviceButtonGrabMask; 53extern const Mask DeviceButtonMotionMask; 54extern const Mask DevicePresenceNotifyMask; 55extern const Mask DevicePropertyNotifyMask; 56extern const Mask XIAllMasks; 57 58extern int DeviceValuator; 59extern int DeviceKeyPress; 60extern int DeviceKeyRelease; 61extern int DeviceButtonPress; 62extern int DeviceButtonRelease; 63extern int DeviceMotionNotify; 64extern int DeviceFocusIn; 65extern int DeviceFocusOut; 66extern int ProximityIn; 67extern int ProximityOut; 68extern int DeviceStateNotify; 69extern int DeviceKeyStateNotify; 70extern int DeviceButtonStateNotify; 71extern int DeviceMappingNotify; 72extern int ChangeDeviceNotify; 73extern int DevicePresenceNotify; 74extern int DevicePropertyNotify; 75 76extern RESTYPE RT_INPUTCLIENT; 77 78extern DevPrivateKeyRec XIClientPrivateKeyRec; 79 80#define XIClientPrivateKey (&XIClientPrivateKeyRec) 81 82#endif /* EXGLOBALS_H */ 83