usb-other.h revision a5e7ae69e440f6816420fc99599f044e79e716b6
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Copyright 2002 Red Hat Inc., Durham, North Carolina.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * All Rights Reserved.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Permission is hereby granted, free of charge, to any person obtaining
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * a copy of this software and associated documentation files (the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * "Software"), to deal in the Software without restriction, including
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * without limitation on the rights to use, copy, modify, merge,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * and to permit persons to whom the Software is furnished to do so,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * subject to the following conditions:
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * The above copyright notice and this permission notice (including the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * next paragraph) shall be included in all copies or substantial
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * portions of the Software.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * SOFTWARE.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Authors:
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Rickard E. (Rik) Faith <faith@redhat.com>
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/** \file
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Interface to USB generic driver. \see usb-other.c \see usb-common.c */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#ifndef _USB_OTHER_H_
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define _USB_OTHER_H_
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncextern void othUSBRead(DevicePtr pDev,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync dmxMotionProcPtr motion,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync dmxEnqueueProcPtr enqueue,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync dmxCheckSpecialProcPtr checkspecial, DMXBlockType block);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncextern void othUSBInit(DevicePtr pDev);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncextern void othUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncextern int othUSBOn(DevicePtr pDev);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncextern void othUSBCtrl(DevicePtr pDev, PtrCtrl * ctrl);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#endif
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync