]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdmain.h
d39bc114a107a3f3beb1939abf11322ee7e9ec61
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // Main command parser entry point
9 //-----------------------------------------------------------------------------
17 #include "cmdparser.h"
19 extern void UsbCommandReceived(UsbCommand
*UC
);
20 extern int CommandReceived(char *Cmd
);
21 extern bool WaitForResponseTimeoutW(uint32_t cmd
, UsbCommand
* response
, size_t ms_timeout
, bool show_warning
);
22 extern bool WaitForResponseTimeout(uint32_t cmd
, UsbCommand
* response
, size_t ms_timeout
);
23 extern bool WaitForResponse(uint32_t cmd
, UsbCommand
* response
);
24 extern void clearCommandBuffer();
25 extern command_t
* getTopLevelCommandTable();