]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/proxusb.h
marcan's patch until he gets commit access. Remove C library's includes from the...
[proxmark3-svn] / client / proxusb.h
... / ...
CommitLineData
1#ifndef PROXUSB_H__
2#define PROXUSB_H__
3
4#include <stdint.h>
5#include <stdbool.h>
6#ifndef WIN32
7#include <usb.h>
8#endif
9#include "usb_cmd.h"
10
11extern unsigned char return_on_error;
12extern unsigned char error_occured;
13
14void SendCommand(UsbCommand *c);
15bool ReceiveCommandPoll(UsbCommand *c);
16void ReceiveCommand(UsbCommand *c);
17struct usb_dev_handle* FindProxmark(int verbose, unsigned int *iface);
18struct usb_dev_handle* OpenProxmark(int verbose);
19void CloseProxmark(void);
20
21#endif
Impressum, Datenschutz