]> git.zerfleddert.de Git - proxmark3-svn/blame - client/proxusb.h
Removed hackish usb.h file, re-added Info.plist
[proxmark3-svn] / client / proxusb.h
CommitLineData
7fe9b0b7 1#ifndef PROXUSB_H__
2#define PROXUSB_H__
3
4#ifdef _MSC_VER
5typedef DWORD uint32_t;
6typedef BYTE uint8_t;
7typedef 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
15extern unsigned char return_on_error;
16extern unsigned char error_occured;
17
18void SendCommand(UsbCommand *c);
19bool ReceiveCommandPoll(UsbCommand *c);
20void ReceiveCommand(UsbCommand *c);
3ec3a472 21struct usb_dev_handle* FindProxmark(int verbose, unsigned int *iface);
22struct usb_dev_handle* OpenProxmark(int verbose);
7fe9b0b7 23void CloseProxmark(void);
24
25#endif
Impressum, Datenschutz