]>
Commit | Line | Data |
---|---|---|
7fe9b0b7 | 1 | #ifndef PROXUSB_H__ |
2 | #define PROXUSB_H__ | |
3 | ||
7fe9b0b7 | 4 | #include <stdint.h> |
5 | #include <stdbool.h> | |
91c38cf7 | 6 | #ifndef WIN32 |
7 | #include <usb.h> | |
7fe9b0b7 | 8 | #endif |
7fe9b0b7 | 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); | |
3ec3a472 | 17 | struct usb_dev_handle* FindProxmark(int verbose, unsigned int *iface); |
18 | struct usb_dev_handle* OpenProxmark(int verbose); | |
7fe9b0b7 | 19 | void CloseProxmark(void); |
20 | ||
21 | #endif |