]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdparser.h
add terminal decision to `genac` and small fixes
[proxmark3-svn] / client / cmdparser.h
index 706ee988fffc137a5182efd364891f99a3bcb3ac..5217d04b692282e87e810bfbf82b218eb06d3042 100644 (file)
@@ -1,3 +1,13 @@
+//-----------------------------------------------------------------------------
+// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
+//
+// 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
\ No newline at end of file
+#endif
Impressum, Datenschutz