X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/393c3ef933553e628635590ca2b8237d07e9e0e3..127f149075522b280d66dbe3d11130151fd8bdcc:/client/cmdparser.h?ds=sidebyside diff --git a/client/cmdparser.h b/client/cmdparser.h index 7d878890..5217d04b 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__ @@ -14,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[], const char *Cmd); +int CmdsParse(const command_t Commands[], const char *Cmd); +void dumpCommandsRecursive(const command_t cmds[], int markdown); #endif