projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
mware
/
parser.h
diff --git
a/bertos/mware/parser.h
b/bertos/mware/parser.h
index b4e2f61d4382543553b5a6689c6d5d9c6987f773..16fa4534974e8bf744aa1ee8225d410b7d2f1ad2 100644
(file)
--- a/
bertos/mware/parser.h
+++ b/
bertos/mware/parser.h
@@
-30,20
+30,22
@@
* All Rights Reserved.
* -->
*
* All Rights Reserved.
* -->
*
- * \version $Id$
- *
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
* \author Stefano Fedrigo <aleph@develer.com>
* \author Giovanni Bajo <rasky@develer.com>
*
* \author Stefano Fedrigo <aleph@develer.com>
* \author Giovanni Bajo <rasky@develer.com>
*
- * \brief serial protocol parser and commands.
+ * \brief Channel protocol parser and commands.
+ *
+ * $WIZ$ module_name = "parser"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_parser.h"
+ * $WIZ$ module_depends = "kfile", "hashtable"
*/
*/
-#ifndef PARSER_H
-#define PARSER_H
+#ifndef
MWARE_
PARSER_H
+#define
MWARE_
PARSER_H
-#include <
drv/ser
.h>
+#include <
cpu/types
.h>
/** Max number of arguments and results for each command */
#define PARSER_MAX_ARGS 8
/** Max number of arguments and results for each command */
#define PARSER_MAX_ARGS 8
@@
-181,5
+183,5
@@
bool parser_get_cmd_arguments(const char* line, const struct CmdTemplate* templ,
bool parser_get_cmd_id(const char* line, unsigned long* ID);
bool parser_get_cmd_id(const char* line, unsigned long* ID);
-#endif /* PARSER_H */
+#endif /*
MWARE_
PARSER_H */