1706f2543Smrg/************************************************************ 2706f2543Smrg 3706f2543SmrgCopyright 1996 by Thomas E. Dickey <dickey@clark.net> 4706f2543Smrg 5706f2543Smrg All Rights Reserved 6706f2543Smrg 7706f2543SmrgPermission to use, copy, modify, and distribute this software and its 8706f2543Smrgdocumentation for any purpose and without fee is hereby granted, 9706f2543Smrgprovided that the above copyright notice appear in all copies and that 10706f2543Smrgboth that copyright notice and this permission notice appear in 11706f2543Smrgsupporting documentation, and that the name of the above listed 12706f2543Smrgcopyright holder(s) not be used in advertising or publicity pertaining 13706f2543Smrgto distribution of the software without specific, written prior 14706f2543Smrgpermission. 15706f2543Smrg 16706f2543SmrgTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD 17706f2543SmrgTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 18706f2543SmrgAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE 19706f2543SmrgLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 20706f2543SmrgWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 21706f2543SmrgACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 22706f2543SmrgOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 23706f2543Smrg 24706f2543Smrg********************************************************/ 25706f2543Smrg 26706f2543Smrg/***************************************************************** 27706f2543Smrg * 28706f2543Smrg * Globals referenced elsewhere in the server. 29706f2543Smrg * 30706f2543Smrg */ 31706f2543Smrg#ifdef HAVE_DIX_CONFIG_H 32706f2543Smrg#include <dix-config.h> 33706f2543Smrg#endif 34706f2543Smrg#include "privates.h" 35706f2543Smrg 36706f2543Smrg#ifndef EXGLOBALS_H 37706f2543Smrg#define EXGLOBALS_H 1 38706f2543Smrg 39706f2543Smrgextern int IReqCode; 40706f2543Smrgextern int IEventBase; 41706f2543Smrgextern int BadDevice; 42706f2543Smrgextern int BadMode; 43706f2543Smrgextern int DeviceBusy; 44706f2543Smrgextern int BadClass; 45706f2543Smrg 46706f2543Smrg/* Note: only the ones needed in files other than extinit.c are declared */ 47706f2543Smrgextern const Mask DevicePointerMotionMask; 48706f2543Smrgextern const Mask DevicePointerMotionHintMask; 49706f2543Smrgextern const Mask DeviceFocusChangeMask; 50706f2543Smrgextern const Mask DeviceStateNotifyMask; 51706f2543Smrgextern const Mask DeviceMappingNotifyMask; 52706f2543Smrgextern const Mask DeviceOwnerGrabButtonMask; 53706f2543Smrgextern const Mask DeviceButtonGrabMask; 54706f2543Smrgextern const Mask DeviceButtonMotionMask; 55706f2543Smrgextern const Mask DevicePresenceNotifyMask; 56706f2543Smrgextern const Mask DevicePropertyNotifyMask; 57706f2543Smrgextern const Mask XIAllMasks; 58706f2543Smrg 59706f2543Smrgextern Mask PropagateMask[]; 60706f2543Smrg 61706f2543Smrgextern int DeviceValuator; 62706f2543Smrgextern int DeviceKeyPress; 63706f2543Smrgextern int DeviceKeyRelease; 64706f2543Smrgextern int DeviceButtonPress; 65706f2543Smrgextern int DeviceButtonRelease; 66706f2543Smrgextern int DeviceMotionNotify; 67706f2543Smrgextern int DeviceFocusIn; 68706f2543Smrgextern int DeviceFocusOut; 69706f2543Smrgextern int ProximityIn; 70706f2543Smrgextern int ProximityOut; 71706f2543Smrgextern int DeviceStateNotify; 72706f2543Smrgextern int DeviceKeyStateNotify; 73706f2543Smrgextern int DeviceButtonStateNotify; 74706f2543Smrgextern int DeviceMappingNotify; 75706f2543Smrgextern int ChangeDeviceNotify; 76706f2543Smrgextern int DevicePresenceNotify; 77706f2543Smrgextern int DevicePropertyNotify; 78706f2543Smrg 79706f2543Smrgextern int RT_INPUTCLIENT; 80706f2543Smrg 81706f2543Smrgextern DevPrivateKeyRec XIClientPrivateKeyRec; 82706f2543Smrg#define XIClientPrivateKey (&XIClientPrivateKeyRec) 83706f2543Smrg 84706f2543Smrg#endif /* EXGLOBALS_H */ 85