summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorErik Andersen2000-05-13 06:33:19 +0000
committerErik Andersen2000-05-13 06:33:19 +0000
commitbcd6177853a39d47b7c0ea75cc27653d63649afa (patch)
tree45ed7567a55a548fff8cf6e50dcda63420a8bd0f /internal.h
parent73c8c9cf9a61286a109a8785b8e4782828d6fe99 (diff)
downloadbusybox-bcd6177853a39d47b7c0ea75cc27653d63649afa.zip
busybox-bcd6177853a39d47b7c0ea75cc27653d63649afa.tar.gz
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 a953ce2..92b0255 100644
--- a/internal.h
+++ b/internal.h
@@ -90,11 +90,13 @@ enum Location {
_BB_DIR_USR_SBIN
};
-struct Applet {
+struct BB_applet {
const char* name;
int (*main)(int argc, char** argv);
enum Location location;
};
+/* From busybox.c */
+extern const struct BB_applet applets[];
extern int basename_main(int argc, char **argv);
extern int busybox_main(int argc, char** argv);