grabdev.h revision 05b261ec
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#ifdef HAVE_DIX_CONFIG_H
2705b261ecSmrg#include <dix-config.h>
2805b261ecSmrg#endif
2905b261ecSmrg
3005b261ecSmrg#ifndef GRABDEV_H
3105b261ecSmrg#define GRABDEV_H 1
3205b261ecSmrg
3305b261ecSmrgint SProcXGrabDevice(ClientPtr	/* client */
3405b261ecSmrg    );
3505b261ecSmrg
3605b261ecSmrgint ProcXGrabDevice(ClientPtr	/* client */
3705b261ecSmrg    );
3805b261ecSmrg
3905b261ecSmrgint CreateMaskFromList(ClientPtr /* client */ ,
4005b261ecSmrg		       XEventClass * /* list */ ,
4105b261ecSmrg		       int /* count */ ,
4205b261ecSmrg		       struct tmask /* mask */ [],
4305b261ecSmrg		       DeviceIntPtr /* dev */ ,
4405b261ecSmrg		       int	/* req */
4505b261ecSmrg    );
4605b261ecSmrg
4705b261ecSmrgvoid SRepXGrabDevice(ClientPtr /* client */ ,
4805b261ecSmrg		     int /* size */ ,
4905b261ecSmrg		     xGrabDeviceReply *	/* rep */
5005b261ecSmrg    );
5105b261ecSmrg
5205b261ecSmrg#endif /* GRABDEV_H */
53