X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/660d641a03456e99ea83c68dbd3d03bae2b64573..b7fc61f0c947da24d8283fec67a5910e224eb2d6:/client/cmdmain.h?ds=inline diff --git a/client/cmdmain.h b/client/cmdmain.h index a745fea7..500320ee 100644 --- a/client/cmdmain.h +++ b/client/cmdmain.h @@ -12,10 +12,11 @@ #define CMDMAIN_H__ #include "usb_cmd.h" - +#include "cmdparser.h" void UsbCommandReceived(UsbCommand *UC); -void CommandReceived(char *Cmd); +int CommandReceived(char *Cmd); bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeout); bool WaitForResponse(uint32_t cmd, UsbCommand* response); - +void clearCommandBuffer(); +command_t* getTopLevelCommandTable(); #endif