]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/proxusb.h
4ee00750d316dafdafa44a32eba16636e954e33e
[proxmark3-svn] / client / proxusb.h
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
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);
21 struct usb_dev_handle* FindProxmark(int verbose, unsigned int *iface);
22 struct usb_dev_handle* OpenProxmark(int verbose);
23 void CloseProxmark(void);
24
25 #endif
Impressum, Datenschutz