exglobals.h revision 35c4bbdf
105b261ecSmrg/************************************************************
205b261ecSmrg
305b261ecSmrgCopyright 1996 by Thomas E. Dickey <dickey@clark.net>
405b261ecSmrg
505b261ecSmrg                        All Rights Reserved
605b261ecSmrg
705b261ecSmrgPermission to use, copy, modify, and distribute this software and its
805b261ecSmrgdocumentation for any purpose and without fee is hereby granted,
905b261ecSmrgprovided that the above copyright notice appear in all copies and that
1005b261ecSmrgboth that copyright notice and this permission notice appear in
1105b261ecSmrgsupporting documentation, and that the name of the above listed
1205b261ecSmrgcopyright holder(s) not be used in advertising or publicity pertaining
1305b261ecSmrgto distribution of the software without specific, written prior
1405b261ecSmrgpermission.
1505b261ecSmrg
1605b261ecSmrgTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
1705b261ecSmrgTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1805b261ecSmrgAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
1905b261ecSmrgLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2005b261ecSmrgWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
2105b261ecSmrgACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
2205b261ecSmrgOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2305b261ecSmrg
2405b261ecSmrg********************************************************/
2505b261ecSmrg
2605b261ecSmrg/*****************************************************************
2705b261ecSmrg *
2805b261ecSmrg * Globals referenced elsewhere in the server.
2905b261ecSmrg *
3005b261ecSmrg */
3105b261ecSmrg#ifdef HAVE_DIX_CONFIG_H
3205b261ecSmrg#include <dix-config.h>
3305b261ecSmrg#endif
344642e01fSmrg#include "privates.h"
3505b261ecSmrg
3605b261ecSmrg#ifndef EXGLOBALS_H
3705b261ecSmrg#define EXGLOBALS_H 1
3805b261ecSmrg
3905b261ecSmrgextern int IReqCode;
404642e01fSmrgextern int IEventBase;
4105b261ecSmrgextern int BadDevice;
4205b261ecSmrgextern int BadMode;
4305b261ecSmrgextern int DeviceBusy;
4405b261ecSmrgextern int BadClass;
4505b261ecSmrg
466747b715Smrg/* Note: only the ones needed in files other than extinit.c are declared */
476747b715Smrgextern const Mask DevicePointerMotionMask;
486747b715Smrgextern const Mask DevicePointerMotionHintMask;
496747b715Smrgextern const Mask DeviceFocusChangeMask;
506747b715Smrgextern const Mask DeviceStateNotifyMask;
516747b715Smrgextern const Mask DeviceMappingNotifyMask;
526747b715Smrgextern const Mask DeviceOwnerGrabButtonMask;
536747b715Smrgextern const Mask DeviceButtonGrabMask;
546747b715Smrgextern const Mask DeviceButtonMotionMask;
556747b715Smrgextern const Mask DevicePresenceNotifyMask;
566747b715Smrgextern const Mask DevicePropertyNotifyMask;
576747b715Smrgextern const Mask XIAllMasks;
586747b715Smrg
5905b261ecSmrgextern Mask PropagateMask[];
6005b261ecSmrg
6105b261ecSmrgextern int DeviceValuator;
6205b261ecSmrgextern int DeviceKeyPress;
6305b261ecSmrgextern int DeviceKeyRelease;
6405b261ecSmrgextern int DeviceButtonPress;
6505b261ecSmrgextern int DeviceButtonRelease;
6605b261ecSmrgextern int DeviceMotionNotify;
6705b261ecSmrgextern int DeviceFocusIn;
6805b261ecSmrgextern int DeviceFocusOut;
6905b261ecSmrgextern int ProximityIn;
7005b261ecSmrgextern int ProximityOut;
7105b261ecSmrgextern int DeviceStateNotify;
7205b261ecSmrgextern int DeviceKeyStateNotify;
7305b261ecSmrgextern int DeviceButtonStateNotify;
7405b261ecSmrgextern int DeviceMappingNotify;
7505b261ecSmrgextern int ChangeDeviceNotify;
7605b261ecSmrgextern int DevicePresenceNotify;
774642e01fSmrgextern int DevicePropertyNotify;
7805b261ecSmrg
7935c4bbdfSmrgextern RESTYPE RT_INPUTCLIENT;
8005b261ecSmrg
816747b715Smrgextern DevPrivateKeyRec XIClientPrivateKeyRec;
8235c4bbdfSmrg
836747b715Smrg#define XIClientPrivateKey (&XIClientPrivateKeyRec)
846747b715Smrg
8535c4bbdfSmrg#endif                          /* EXGLOBALS_H */
86