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