summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/internal.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-08-14 14:50:55 +1000
committerChris Johns <chrisj@rtems.org>2017-08-23 09:48:56 +1000
commit89fd08eae6d3801a917daccc992b0ac5b32cf4d6 (patch)
tree7ade1a054dda8a10d6397bc154cb88ec27444215 /cpukit/libmisc/shell/internal.h
parentconfdefs: Fix POSIX keys configuration (diff)
downloadrtems-89fd08eae6d3801a917daccc992b0ac5b32cf4d6.tar.bz2
libmisc/shell: Make some internal shell functions public.
- Add 'rtems_shell_init_environment()' so a user can create the shell environment without needing to run a shell. - Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd', and 'rtems_shell_execute_cmd' from the internal interface to the public interface. Closes #3104.
Diffstat (limited to 'cpukit/libmisc/shell/internal.h')
-rw-r--r--cpukit/libmisc/shell/internal.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/cpukit/libmisc/shell/internal.h b/cpukit/libmisc/shell/internal.h
index 56b1bb6077..31df89da05 100644
--- a/cpukit/libmisc/shell/internal.h
+++ b/cpukit/libmisc/shell/internal.h
@@ -11,24 +11,9 @@
#include "shell.h"
-struct rtems_shell_topic_tt;
-typedef struct rtems_shell_topic_tt rtems_shell_topic_t;
-
-struct rtems_shell_topic_tt {
- const char *topic;
- rtems_shell_topic_t *next;
-};
-
-
extern rtems_shell_cmd_t * rtems_shell_first_cmd;
extern rtems_shell_topic_t * rtems_shell_first_topic;
-rtems_shell_topic_t * rtems_shell_lookup_topic(const char *topic);
-
-bool rtems_shell_can_see_cmd(const rtems_shell_cmd_t *shell_cmd);
-
-int rtems_shell_execute_cmd(const char *cmd, int argc, char *argv[]);
-
extern void rtems_shell_register_monitor_commands(void);
extern void rtems_shell_print_heap_info(