summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shellconfig.h
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-02-27 11:03:57 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-02-27 11:03:57 +0000
commit06f8e558b7fa2724ada5474074a6a3d1b93338c9 (patch)
tree47503a92a08ace06d5e1dcf32602ed9b07c5b7af /cpukit/libmisc/shell/shellconfig.h
parent2009-02-26 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-06f8e558b7fa2724ada5474074a6a3d1b93338c9.tar.bz2
* libmisc/shell/shell.c, libmisc/shell/shell.h: Changed type for
boolean values from 'int' to 'bool'. Added option 'login' to enable or disable a login prompt. Changed intialization of global shell environment to static initialization. Changed stack size type to 'size_t' conforming to classic API. * libmisc/shell/shellconfig.h: Fixed some typos.
Diffstat (limited to 'cpukit/libmisc/shell/shellconfig.h')
-rw-r--r--cpukit/libmisc/shell/shellconfig.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h
index f064617b06..1494d2a550 100644
--- a/cpukit/libmisc/shell/shellconfig.h
+++ b/cpukit/libmisc/shell/shellconfig.h
@@ -61,11 +61,9 @@ extern rtems_shell_cmd_t rtems_shell_PERIODUSE_Command;
extern rtems_shell_cmd_t rtems_shell_WKSPACE_INFO_Command;
extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command;
#if RTEMS_NETWORKING
- #if defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING)
- extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
- extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
- extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
- #endif
+ extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
+ extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
+ extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
#endif
extern rtems_shell_cmd_t *rtems_shell_Initial_commands[];
@@ -326,7 +324,7 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
&rtems_shell_PERIODUSE_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
- !defined(CONFIGURE_SHELL_COMMAND_WKSPACE_INFO)) || \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_WKSPACE_INFO)) || \
defined(CONFIGURE_SHELL_COMMAND_WKSPACE_INFO)
&rtems_shell_WKSPACE_INFO_Command,
#endif
@@ -336,7 +334,7 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
* Malloc family commands
*/
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
- !defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)) || \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_MALLOC_INFO)) || \
defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)
&rtems_shell_MALLOC_INFO_Command,
#endif
@@ -346,19 +344,19 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
*/
#if RTEMS_NETWORKING
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
- !defined(CONFIGURE_SHELL_COMMAND_IFCONFIG)) || \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_IFCONFIG)) || \
defined(CONFIGURE_SHELL_COMMAND_IFCONFIG)
&rtems_shell_IFCONFIG_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
- !defined(CONFIGURE_SHELL_COMMAND_ROUTE)) || \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_ROUTE)) || \
defined(CONFIGURE_SHELL_COMMAND_ROUTE)
&rtems_shell_ROUTE_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
- !defined(CONFIGURE_SHELL_COMMAND_NETSTATS)) || \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_NETSTATS)) || \
defined(CONFIGURE_SHELL_COMMAND_NETSTATS)
&rtems_shell_NETSTATS_Command,
#endif
@@ -377,8 +375,8 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
* The mount command's support file system types.
*/
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
- !defined(CONFIGURE_SHELL_COMMAND_MOUNT)) || \
- defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
+ !defined(CONFIGURE_SHELL_COMMAND_NO_MOUNT)) || \
+ defined(CONFIGURE_SHELL_COMMAND_MOUNT)
rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[] = {
#if defined(CONFIGURE_SHELL_MOUNT_MSDOS)
&rtems_shell_Mount_MSDOS,