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