summaryrefslogtreecommitdiff
path: root/components/finsh/msh_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/finsh/msh_parse.h')
-rw-r--r--components/finsh/msh_parse.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/components/finsh/msh_parse.h b/components/finsh/msh_parse.h
new file mode 100644
index 0000000000..ba14625e92
--- /dev/null
+++ b/components/finsh/msh_parse.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2006-2021, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2022-05-25 WangQiang the first verion for msh parse
+ */
+
+#ifndef MSH_PARSE_H
+#define MSH_PARSE_H
+
+#include <rtdef.h>
+
+rt_bool_t msh_isint(char *strvalue);
+rt_bool_t msh_ishex(char *strvalue);
+int msh_strtohex(char *strvalue);
+
+#endif /* MSH_PARSE_H */