diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-13 06:33:19 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-13 06:33:19 +0000 |
commit | 5deee7d941c7484f499c021d97a5142768e5adce (patch) | |
tree | 45ed7567a55a548fff8cf6e50dcda63420a8bd0f /internal.h | |
parent | d98534777637bfd75ec0c6489095570ff49f3c6e (diff) | |
download | busybox-w32-5deee7d941c7484f499c021d97a5142768e5adce.tar.gz busybox-w32-5deee7d941c7484f499c021d97a5142768e5adce.tar.bz2 busybox-w32-5deee7d941c7484f499c021d97a5142768e5adce.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
git-svn-id: svn://busybox.net/trunk/busybox@536 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 4 |
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 | ||
93 | struct Applet { | 93 | struct 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 */ | ||
99 | extern const struct BB_applet applets[]; | ||
98 | 100 | ||
99 | extern int basename_main(int argc, char **argv); | 101 | extern int basename_main(int argc, char **argv); |
100 | extern int busybox_main(int argc, char** argv); | 102 | extern int busybox_main(int argc, char** argv); |