X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/fcdfc43e1ff49b58d2a0b85d5f4beee634906ca6..0b6efd01ec437f17bcd94475083108eacde144c7:/client/cmdparser.h diff --git a/client/cmdparser.h b/client/cmdparser.h index 1002df8b..cd4d1625 100644 --- a/client/cmdparser.h +++ b/client/cmdparser.h @@ -9,7 +9,7 @@ //----------------------------------------------------------------------------- #ifndef CMDPARSER_H__ -#define CMDPARSER_H__ +#define CMDPARSER_H__ typedef struct command_s { @@ -24,6 +24,7 @@ typedef struct command_s // Print help for each command in the command array void CmdsHelp(const command_t Commands[]); // Parse a command line -void CmdsParse(const command_t Commands[], char *Cmd); +int CmdsParse(const command_t Commands[], const char *Cmd); +void dumpCommandsRecursive(const command_t cmds[], int markdown); #endif