xref: /nrf52832-nimble/rt-thread/components/finsh/msh.h (revision 104654410c56c573564690304ae786df310c91fc)
1 /*
2  * Copyright (c) 2006-2018, 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 rt_bool_t msh_is_used(void);
17 int msh_exec(char *cmd, rt_size_t length);
18 void msh_auto_complete(char *prefix);
19 
20 int msh_exec_module(const char *cmd_line, int size);
21 int msh_exec_script(const char *cmd_line, int size);
22 
23 #endif
24