]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/proxusb.h
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_(HidCommand
*c
);
23 bool ReceiveCommandPoll(HidCommand
*c
);
24 void ReceiveCommand(HidCommand
*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];