1 /*
2  * Copyright (c) 2006-2021, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2013-03-30     Bernard      the first verion for FinSH
9  */
10 
11 #ifndef __M_SHELL__
12 #define __M_SHELL__
13 
14 #include <rtthread.h>
15 
16 int msh_exec(char *cmd, rt_size_t length);
17 void msh_auto_complete(char *prefix);
18 
19 int msh_exec_module(const char *cmd_line, int size);
20 int msh_exec_script(const char *cmd_line, int size);
21 
22 #ifdef FINSH_USING_OPTION_COMPLETION
23 void msh_opt_auto_complete(char *prefix);
24 
25 #endif /* FINSH_USING_OPTION_COMPLETION */
26 #endif
27