]> git.zerfleddert.de Git - proxmark3-svn/blame - client/proxusb.h
Fix windows compilation issues. But still not final. We should move to pthread and...
[proxmark3-svn] / client / proxusb.h
CommitLineData
7fe9b0b7 1#ifndef PROXUSB_H__
2#define PROXUSB_H__
3
7fe9b0b7 4#include <stdint.h>
5#include <stdbool.h>
91c38cf7 6#ifndef WIN32
7#include <usb.h>
7fe9b0b7 8#endif
7fe9b0b7 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);
3ec3a472 17struct usb_dev_handle* FindProxmark(int verbose, unsigned int *iface);
18struct usb_dev_handle* OpenProxmark(int verbose);
7fe9b0b7 19void CloseProxmark(void);
20
21#endif
Impressum, Datenschutz