2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
34 #if !defined(__TTYPE_H__)
37 #if !defined(__DEVICE_H__)
40 #if !defined(__USBPIPE_H__)
46 /*--------------------- Export Definitions -------------------------*/
49 #define CONTROLnsRequestOut( Device,Request,Value,Index,Length,Buffer) \
50 PIPEnsControlOut( Device,Request,Value,Index,Length,Buffer)
52 #define CONTROLnsRequestOutAsyn( Device,Request,Value,Index,Length,Buffer) \
53 PIPEnsControlOutAsyn( Device,Request,Value,Index,Length,Buffer)
55 #define CONTROLnsRequestIn( Device,Request,Value,Index,Length,Buffer) \
56 PIPEnsControlIn( Device,Request,Value,Index,Length,Buffer)
59 /*--------------------- Export Classes ----------------------------*/
61 /*--------------------- Export Variables --------------------------*/
63 /*--------------------- Export Functions --------------------------*/
65 extern "C" { /* Assume C declarations for C++ */
66 #endif /* __cplusplus */
69 void ControlvWriteByte(
77 void ControlvReadByte(
85 void ControlvMaskByte(
94 } /* End of extern "C" { */
95 #endif /* __cplusplus */