summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-13 06:33:19 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-13 06:33:19 +0000
commitbcd6177853a39d47b7c0ea75cc27653d63649afa (patch)
tree45ed7567a55a548fff8cf6e50dcda63420a8bd0f /internal.h
parent73c8c9cf9a61286a109a8785b8e4782828d6fe99 (diff)
downloadbusybox-w32-bcd6177853a39d47b7c0ea75cc27653d63649afa.tar.gz
busybox-w32-bcd6177853a39d47b7c0ea75cc27653d63649afa.tar.bz2
busybox-w32-bcd6177853a39d47b7c0ea75cc27653d63649afa.zip
BusyBox shell (lash) can now be used as a standalone shell when
BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace sash). Also fixed it so shell builtins now respect pipes and redirects. -Erik
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index a953ce2e5..92b0255b0 100644
--- a/internal.h
+++ b/internal.h
@@ -90,11 +90,13 @@ enum Location {
90 _BB_DIR_USR_SBIN 90 _BB_DIR_USR_SBIN
91}; 91};
92 92
93struct Applet { 93struct BB_applet {
94 const char* name; 94 const char* name;
95 int (*main)(int argc, char** argv); 95 int (*main)(int argc, char** argv);
96 enum Location location; 96 enum Location location;
97}; 97};
98/* From busybox.c */
99extern const struct BB_applet applets[];
98 100
99extern int basename_main(int argc, char **argv); 101extern int basename_main(int argc, char **argv);
100extern int busybox_main(int argc, char** argv); 102extern int busybox_main(int argc, char** argv);