lnx-ms.h revision f0ab104f070bc7f569404826fea1828ed985638c
0N/A/*
0N/A * Copyright 2001 Red Hat Inc., Durham, North Carolina.
0N/A *
0N/A * All Rights Reserved.
2362N/A *
0N/A * Permission is hereby granted, free of charge, to any person obtaining
0N/A * a copy of this software and associated documentation files (the
0N/A * "Software"), to deal in the Software without restriction, including
0N/A * without limitation on the rights to use, copy, modify, merge,
2362N/A * publish, distribute, sublicense, and/or sell copies of the Software,
0N/A * and to permit persons to whom the Software is furnished to do so,
2362N/A * subject to the following conditions:
0N/A *
0N/A * The above copyright notice and this permission notice (including the
0N/A * next paragraph) shall be included in all copies or substantial
0N/A * portions of the Software.
0N/A *
0N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0N/A * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0N/A * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0N/A * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
0N/A * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
0N/A * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2365N/A * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2365N/A * SOFTWARE.
2365N/A */
0N/A
0N/A/*
0N/A * Authors:
0N/A * Rickard E. (Rik) Faith <faith@redhat.com>
0N/A *
0N/A */
0N/A
0N/A/** \file
0N/A * Interface to Linux MS mouse driver. \see lnx-ms.c */
0N/A
0N/A#ifndef _LNX_MS_H_
0N/A#define _LNX_MS_H_
0N/A
0N/Aextern pointer msLinuxCreatePrivate(DeviceIntPtr pMouse);
0N/Aextern void msLinuxDestroyPrivate(pointer priv);
0N/Aextern void msLinuxRead(DevicePtr pDev,
0N/A dmxMotionProcPtr motion,
0N/A dmxEnqueueProcPtr enqueue,
0N/A dmxCheckSpecialProcPtr checkspecial,
0N/A DMXBlockType block);
0N/Aextern void msLinuxInit(DevicePtr pDev);
0N/Aextern void msLinuxGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
0N/Aextern int msLinuxOn(DevicePtr pDev);
0N/Aextern void msLinuxOff(DevicePtr pDev);
0N/Aextern void msLinuxCtrl(DevicePtr pDev, PtrCtrl *ctrl);
extern void msLinuxVTPreSwitch(pointer p);
extern void msLinuxVTPostSwitch(pointer p);
#endif