diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-03-16 08:09:09 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-03-16 08:09:09 +0000 |
commit | d75af99529879e6cd38164fd110732052a9cdda4 (patch) | |
tree | 3a6e672d0b0d5104cc3c33f65b20fdaacd365c2e /internal.h | |
parent | a967e3c8f004d9d613e2f531a3bf7869f2e68b90 (diff) |
Major build system updates...
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal.h b/internal.h index e96eebba9..c91d3b19d 100644 --- a/internal.h +++ b/internal.h @@ -51,10 +51,18 @@ #define isOctal(ch) (((ch) >= '0') && ((ch) <= '7')) #define isWildCard(ch) (((ch) == '*') || ((ch) == '?') || ((ch) == '[')) +enum Location { + _BB_DIR_ROOT = 0, + _BB_DIR_BIN, + _BB_DIR_SBIN, + _BB_DIR_USR_BIN, + _BB_DIR_USR_SBIN +}; struct Applet { const char* name; int (*main)(int argc, char** argv); + enum Location location; }; extern int basename_main(int argc, char **argv); @@ -74,6 +82,7 @@ extern int df_main(int argc, char** argv); extern int dmesg_main(int argc, char** argv); extern int du_main(int argc, char** argv); extern int dutmp_main(int argc, char** argv); +extern int echo_main(int argc, char** argv); extern int false_main(int argc, char** argv); extern int fbset_main(int argc, char** argv); extern int fdisk_main(int argc, char** argv); @@ -134,6 +143,7 @@ extern int syslogd_main(int argc, char **argv); extern int tail_main(int argc, char** argv); extern int tar_main(int argc, char** argv); extern int tee_main(int argc, char** argv); +extern int test_main(int argc, char** argv); extern int telnet_main(int argc, char** argv); extern int touch_main(int argc, char** argv); extern int tr_main(int argc, char** argv); |