]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxusb.h
major USB update
[proxmark3-svn] / client / proxusb.h
index 42e6c75d5f83d3ad677110eab917f200a480b6e4..cc34fd4837b283c2e740478e562c3ed66de35fbc 100644 (file)
 extern unsigned char return_on_error;
 extern unsigned char error_occured;
 
-void SendCommand(UsbCommand *c);
-bool ReceiveCommandPoll(UsbCommand *c);
-void ReceiveCommand(UsbCommand *c);
+void SendCommand_(HidCommand *c);
+bool ReceiveCommandPoll(HidCommand *c);
+void ReceiveCommand(HidCommand *c);
 struct usb_dev_handle* FindProxmark(int verbose, unsigned int *iface);
 struct usb_dev_handle* OpenProxmark(int verbose);
 void CloseProxmark(void);
 
+struct prox_unit {
+  usb_dev_handle *handle;
+  char serial_number[256];
+};
+
 #endif
Impressum, Datenschutz