]>
Commit | Line | Data |
---|---|---|
1 | #ifndef PROXUSB_H__ | |
2 | #define PROXUSB_H__ | |
3 | ||
4 | #include <stdint.h> | |
5 | #include <stdbool.h> | |
6 | #include <usb.h> | |
7 | #include "usb_cmd.h" | |
8 | ||
9 | extern unsigned char return_on_error; | |
10 | extern unsigned char error_occured; | |
11 | ||
12 | void SendCommand(UsbCommand *c); | |
13 | bool ReceiveCommandPoll(UsbCommand *c); | |
14 | void ReceiveCommand(UsbCommand *c); | |
15 | struct usb_dev_handle* FindProxmark(int verbose, unsigned int *iface); | |
16 | struct usb_dev_handle* OpenProxmark(int verbose); | |
17 | void CloseProxmark(void); | |
18 | ||
19 | #endif |