]>
Commit | Line | Data |
---|---|---|
7fe9b0b7 | 1 | #ifndef PROXUSB_H__ |
2 | #define PROXUSB_H__ | |
3 | ||
4 | #ifdef _MSC_VER | |
5 | typedef DWORD uint32_t; | |
6 | typedef BYTE uint8_t; | |
7 | typedef WORD uint16_t; | |
8 | #define bool BOOL | |
9 | #else | |
10 | #include <stdint.h> | |
11 | #include <stdbool.h> | |
12 | #endif | |
7fe9b0b7 | 13 | #include "usb_cmd.h" |
14 | ||
15 | extern unsigned char return_on_error; | |
16 | extern unsigned char error_occured; | |
17 | ||
18 | void SendCommand(UsbCommand *c); | |
19 | bool ReceiveCommandPoll(UsbCommand *c); | |
20 | void ReceiveCommand(UsbCommand *c); | |
3ec3a472 | 21 | struct usb_dev_handle* FindProxmark(int verbose, unsigned int *iface); |
22 | struct usb_dev_handle* OpenProxmark(int verbose); | |
7fe9b0b7 | 23 | void CloseProxmark(void); |
24 | ||
25 | #endif |