summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shell.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-22 15:17:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-22 15:17:37 +0000
commit35d09baa84f3e029646e3a2f2f0e9b348de57517 (patch)
tree9e108a9d304ab73d8e596b65dae1b83f82b6d095 /cpukit/libmisc/shell/shell.h
parent2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-35d09baa84f3e029646e3a2f2f0e9b348de57517.tar.bz2
2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/main_chmod.c, libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c, libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c, libmisc/shell/shell.h, libmisc/shell/shell_script.c, libmisc/stringto/stringto_template.h: Convert all shell code to use stringto.h mehods with better error checking. * libmisc/shell/str2int.c: Removed.
Diffstat (limited to 'cpukit/libmisc/shell/shell.h')
-rw-r--r--cpukit/libmisc/shell/shell.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h
index a9782b846b..759bf71589 100644
--- a/cpukit/libmisc/shell/shell.h
+++ b/cpukit/libmisc/shell/shell.h
@@ -183,22 +183,19 @@ rtems_status_code rtems_shell_script(
bool echo
);
-/*
- * Things that are useful to external entities developing commands and plugging
- * them in.
+/**
+ * Private environment associated with each shell instance.
*/
-int rtems_shell_str2int(const char * s);
-
typedef struct {
- rtems_name magic; /* 'S','E','N','V': Shell Environment */
+ /** 'S','E','N','V': Shell Environment */
+ rtems_name magic;
const char *devname;
const char *taskname;
- /* user extensions */
bool exit_shell; /* logout */
bool forever; /* repeat login */
int errorlevel;
bool echo;
- char cwd [256];
+ char cwd[256];
const char *input;
const char *output;
bool output_append;