deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/************************************************************
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncCopyright 1996 by Thomas E. Dickey <dickey@clark.net>
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync All Rights Reserved
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncPermission to use, copy, modify, and distribute this software and its
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncdocumentation for any purpose and without fee is hereby granted,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncprovided that the above copyright notice appear in all copies and that
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncboth that copyright notice and this permission notice appear in
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncsupporting documentation, and that the name of the above listed
deb4998ba50060c48cce222fd18a8eed053918d7vboxsynccopyright holder(s) not be used in advertising or publicity pertaining
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncto distribution of the software without specific, written prior
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncpermission.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync********************************************************/
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/********************************************************************
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * Interface of extinit.c
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#ifndef EXTINIT_H
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#define EXTINIT_H
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#include "extnsionst.h"
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncXInputExtensionInit(
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync void
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncint
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncProcIDispatch (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ClientPtr /* client */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncint
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSProcIDispatch(
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ClientPtr /* client */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSReplyIDispatch (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ClientPtr /* client */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int /* len */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync xGrabDeviceReply * /* rep */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSEventIDispatch (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync xEvent * /* from */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync xEvent * /* to */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSEventDeviceValuator (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceValuator * /* from */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceValuator * /* to */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSEventFocus (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceFocus * /* from */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceFocus * /* to */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSDeviceStateNotifyEvent (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceStateNotify * /* from */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceStateNotify * /* to */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSDeviceKeyStateNotifyEvent (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceKeyStateNotify * /* from */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceKeyStateNotify * /* to */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSDeviceButtonStateNotifyEvent (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceButtonStateNotify * /* from */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceButtonStateNotify * /* to */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSChangeDeviceNotifyEvent (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync changeDeviceNotify * /* from */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync changeDeviceNotify * /* to */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSDeviceMappingNotifyEvent (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceMappingNotify * /* from */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync deviceMappingNotify * /* to */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncFixExtensionEvents (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ExtensionEntry * /* extEntry */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncRestoreExtensionEvents (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync void
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncIResetProc(
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ExtensionEntry * /* unused */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncAssignTypeAndName (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync DeviceIntPtr /* dev */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Atom /* type */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync char * /* name */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncMakeDeviceTypeAtoms (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync void
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync);
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncDeviceIntPtr
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncLookupDeviceIntRec (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync CARD8 /* id */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSetExclusiveAccess (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Mask /* mask */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncAllowPropagateSuppress (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Mask /* mask */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncMask
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncGetNextExtEventMask (
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync void
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync);
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSetMaskForExtEvent(
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Mask /* mask */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int /* event */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncvoid
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncSetEventInfo(
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Mask /* mask */,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int /* constant */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync );
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#endif /* EXTINIT_H */