X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7fe9b0b742d7dae9c5af1d292d11840b5c3cbfae..3e110ad5ee5e3e8662be4a65e8602114fda59ac0:/client/cmdparser.h diff --git a/client/cmdparser.h b/client/cmdparser.h index 706ee988..97b8f281 100644 --- a/client/cmdparser.h +++ b/client/cmdparser.h @@ -1,3 +1,13 @@ +//----------------------------------------------------------------------------- +// Copyright (C) 2010 iZsh +// +// This code is licensed to you under the terms of the GNU GPL, version 2 or, +// at your option, any later version. See the LICENSE.txt file for the text of +// the license. +//----------------------------------------------------------------------------- +// Command parser +//----------------------------------------------------------------------------- + #ifndef CMDPARSER_H__ #define CMDPARSER_H__ @@ -13,7 +23,10 @@ typedef struct command_s // Print help for each command in the command array void CmdsHelp(const command_t Commands[]); +// Print each command in the command array without help +void CmdsLS(const command_t Commands[]); // Parse a command line -void CmdsParse(const command_t Commands[], const char *Cmd); +int CmdsParse(const command_t Commands[], const char *Cmd); +void dumpCommandsRecursive(const command_t cmds[], int markdown); -#endif \ No newline at end of file +#endif