/[pcsclite]/trunk/Drivers/ccid/src/ccid_usb.h
ViewVC logotype

Contents of /trunk/Drivers/ccid/src/ccid_usb.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1399 - (hide annotations) (download)
Mon Mar 14 18:56:53 2005 UTC (8 years, 2 months ago) by rousseau
File MIME type: text/plain
File size: 1422 byte(s)
change licence from GNU GPL to GNU LGPL
1 rousseau 269 /*
2     ccid_usb.h: USB access routines using the libusb library
3 rousseau 650 Copyright (C) 2003-2004 Ludovic Rousseau
4 rousseau 269
5 rousseau 1399 This library is free software; you can redistribute it and/or
6     modify it under the terms of the GNU Lesser General Public
7     License as published by the Free Software Foundation; either
8     version 2.1 of the License, or (at your option) any later version.
9 rousseau 269
10 rousseau 1399 This library is distributed in the hope that it will be useful,
11 rousseau 269 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 rousseau 1399 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13     Lesser General Public License for more details.
14 rousseau 269
15 rousseau 1399 You should have received a copy of the GNU Lesser General Public
16     License along with this library; if not, write to the Free Software
17     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 rousseau 269 */
19    
20     /*
21     * $Id$
22     */
23    
24 rousseau 1106 status_t OpenUSB(unsigned int reader_index, int channel);
25 rousseau 269
26 rousseau 1106 status_t OpenUSBByName(unsigned int reader_index, /*@null@*/ char *device);
27 rousseau 1043
28 rousseau 1106 status_t WriteUSB(unsigned int reader_index, unsigned int length,
29     unsigned char *Buffer);
30 rousseau 1043
31 rousseau 1106 status_t ReadUSB(unsigned int reader_index, unsigned int *length,
32     unsigned char *Buffer);
33 rousseau 1043
34 rousseau 1106 status_t CloseUSB(unsigned int reader_index);
35 rousseau 1043
36 rousseau 269 #ifdef __USB_H__
37 rousseau 1281 int get_desc(int lun, usb_dev_handle **handle, struct usb_device **dev);
38 rousseau 1043
39 rousseau 1054 /*@null@*/ struct usb_interface *get_ccid_usb_interface(struct usb_device *dev);
40 rousseau 269 #endif
41    

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5