]> git.zerfleddert.de Git - proxmark3-svn/blob - client/proxusb.h
Attempt at getting the windows client to at least compile without bombing out with...
[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.h"
14 #include "usb_cmd.h"
15
16 extern unsigned char return_on_error;
17 extern unsigned char error_occured;
18
19 void SendCommand(UsbCommand *c);
20 bool ReceiveCommandPoll(UsbCommand *c);
21 void ReceiveCommand(UsbCommand *c);
22 usb_dev_handle* FindProxmark(int verbose, unsigned int *iface);
23 usb_dev_handle* OpenProxmark(int verbose);
24 usb_dev_handle* OpenProxmark(int verbose);
25 void CloseProxmark(void);
26
27 #endif
Impressum, Datenschutz