]> git.zerfleddert.de Git - proxmark3-svn/blob - client/proxusb.h
32a334c68edec7690796388d288c8e57d10d6b2d
[proxmark3-svn] / client / proxusb.h
1 #ifndef PROXUSB_H__
2 #define PROXUSB_H__
3
4 #include <stdint.h>
5 #include <stdbool.h>
6 #ifndef WIN32
7 #include <usb.h>
8 #endif
9 #include "usb_cmd.h"
10
11 extern unsigned char return_on_error;
12 extern unsigned char error_occured;
13
14 void SendCommand(UsbCommand *c);
15 bool ReceiveCommandPoll(UsbCommand *c);
16 void ReceiveCommand(UsbCommand *c);
17 struct usb_dev_handle* FindProxmark(int verbose, unsigned int *iface);
18 struct usb_dev_handle* OpenProxmark(int verbose);
19 void CloseProxmark(void);
20
21 #endif
Impressum, Datenschutz