]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/proxusb.h
merge 'lfsamples' and 'hfsamples' into 'samples'
[proxmark3-svn] / client / proxusb.h
... / ...
CommitLineData
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
13#include <usb.h>
14#include "usb_cmd.h"
15
16extern unsigned char return_on_error;
17extern unsigned char error_occured;
18
19void SendCommand(UsbCommand *c);
20bool ReceiveCommandPoll(UsbCommand *c);
21void ReceiveCommand(UsbCommand *c);
22usb_dev_handle* FindProxmark(int verbose, unsigned int *iface);
23usb_dev_handle* OpenProxmark(int verbose);
24usb_dev_handle* OpenProxmark(int verbose);
25void CloseProxmark(void);
26
27#endif
Impressum, Datenschutz