]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/hid-flasher/proxusb.h
5845888a539af7ea01b200f815ffe8b23cc809c5
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
9 //-----------------------------------------------------------------------------
19 extern unsigned char return_on_error
;
20 extern unsigned char error_occured
;
22 void SendCommand(UsbCommand
*c
);
23 bool ReceiveCommandPoll(UsbCommand
*c
);
24 void ReceiveCommand(UsbCommand
*c
);
25 struct usb_dev_handle
* FindProxmark(int verbose
, unsigned int *iface
);
26 struct usb_dev_handle
* OpenProxmark(int verbose
);
27 void CloseProxmark(void);
30 usb_dev_handle
*handle
;
31 char serial_number
[256];