]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/comms.h
USB comms: part 3 towards @micolous PR#463
[proxmark3-svn] / client / comms.h
index 405760187e9d399f58d480b4eabaa4447087f89d..616f7ddbdddf15e1eb2d5f2740cf9f33a6cbd22a 100644 (file)
@@ -30,16 +30,19 @@ typedef struct {
        pthread_mutex_t recv_lock;
 } receiver_arg;
 
+
+void SetOffline(bool new_offline);
+bool IsOffline();
+
+bool OpenProxmark(char *portname, bool waitCOMPort, int timeout);
+void CloseProxmark(void);
+
 void SendCommand(UsbCommand *c);
 
 void *uart_receiver(void *targ);
-void UsbCommandReceived(UsbCommand *UC);
 void clearCommandBuffer();
 bool WaitForResponseTimeoutW(uint32_t cmd, UsbCommand* response, size_t ms_timeout, bool show_warning);
 bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeout);
 bool WaitForResponse(uint32_t cmd, UsbCommand* response);
 
-extern serial_port sp;
-extern bool offline;
-
 #endif // COMMS_H_
Impressum, Datenschutz