blob: 255bd6b44f7f3220f88c85f575c546bdba1bb33c [file] [log] [blame]
Mark Whitley130005c2000-10-25 00:28:27 +00001/*
2 * applets.h - a listing of all busybox applets.
3 *
4 * If you write a new applet, you need to add an entry to this list to make
5 * busybox aware of it.
6 *
7 * It is CRUCIAL that this listing be kept in ascii order, otherwise the binary
8 * search lookup contributed by Gaute B Strokkenes stops working. If you value
9 * your kneecaps, you'll be sure to *make sure* that any changes made to this
10 * file result in the listing remaining in ascii order. You have been warned.
11 */
12
Eric Andersen67991cf2001-02-14 21:23:06 +000013#undef APPLET
14#undef APPLET_ODDNAME
15#undef APPLET_NOUSAGE
16
Eric Andersen7e9276b2001-02-22 01:15:47 +000017
Eric Andersen868c0572000-12-02 00:44:48 +000018#if defined(PROTOTYPES)
Eric Andersen7e9276b2001-02-22 01:15:47 +000019 #define APPLET(a,b,c) extern int b(int argc, char **argv);
20 #define APPLET_NOUSAGE(a,b,c) extern int b(int argc, char **argv);
21 #define APPLET_ODDNAME(a,b,c,d) extern int b(int argc, char **argv);
22 extern const char usage_messages[];
23#elif defined(MAKE_USAGE)
Matt Kraaia2e68fc2001-03-27 21:57:29 +000024 #ifdef BB_FEATURE_VERBOSE_USAGE
Eric Andersen7e9276b2001-02-22 01:15:47 +000025 #define APPLET(a,b,c) a##_trivial_usage "\n\n" a##_full_usage "\0"
26 #define APPLET_NOUSAGE(a,b,c) "\0"
27 #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0"
Matt Kraaia2e68fc2001-03-27 21:57:29 +000028 #else
29 #define APPLET(a,b,c) a##_trivial_usage "\0"
30 #define APPLET_NOUSAGE(a,b,c) "\0"
31 #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\0"
Eric Andersen7e9276b2001-02-22 01:15:47 +000032 #endif
Eric Andersen3574b702001-02-23 02:16:29 +000033#elif defined(MAKE_LINKS)
34# define APPLET(a,b,c) LINK c a
35# define APPLET_NOUSAGE(a,b,c) LINK c a
36# define APPLET_ODDNAME(a,b,c,d) LINK c a
Eric Andersen868c0572000-12-02 00:44:48 +000037#else
Eric Andersen7e9276b2001-02-22 01:15:47 +000038 const struct BB_applet applets[] = {
39 #define APPLET(a,b,c) {#a,b,c},
40 #define APPLET_NOUSAGE(a,b,c) {a,b,c},
41 #define APPLET_ODDNAME(a,b,c,d) {a,b,c},
Eric Andersen8c725e62000-11-30 00:27:06 +000042#endif
Mark Whitley130005c2000-10-25 00:28:27 +000043
Eric Andersen7e9276b2001-02-22 01:15:47 +000044
45
Mark Whitley130005c2000-10-25 00:28:27 +000046#ifdef BB_TEST
Eric Andersen7e9276b2001-02-22 01:15:47 +000047 APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000048#endif
Mark Whitley6f932772001-03-20 19:18:10 +000049#ifdef BB_ADJTIMEX
50 APPLET(adjtimex, adjtimex_main, _BB_DIR_SBIN)
51#endif
Mark Whitley130005c2000-10-25 00:28:27 +000052#ifdef BB_AR
Eric Andersen67991cf2001-02-14 21:23:06 +000053 APPLET(ar, ar_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000054#endif
55#ifdef BB_BASENAME
Eric Andersen67991cf2001-02-14 21:23:06 +000056 APPLET(basename, basename_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000057#endif
Eric Andersen7e9276b2001-02-22 01:15:47 +000058 APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000059#ifdef BB_CAT
Eric Andersen67991cf2001-02-14 21:23:06 +000060 APPLET(cat, cat_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000061#endif
62#ifdef BB_CHMOD_CHOWN_CHGRP
Eric Andersen67991cf2001-02-14 21:23:06 +000063 APPLET(chgrp, chmod_chown_chgrp_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000064#endif
65#ifdef BB_CHMOD_CHOWN_CHGRP
Eric Andersen67991cf2001-02-14 21:23:06 +000066 APPLET(chmod, chmod_chown_chgrp_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000067#endif
68#ifdef BB_CHMOD_CHOWN_CHGRP
Eric Andersen67991cf2001-02-14 21:23:06 +000069 APPLET(chown, chmod_chown_chgrp_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000070#endif
71#ifdef BB_CHROOT
Eric Andersen67991cf2001-02-14 21:23:06 +000072 APPLET(chroot, chroot_main, _BB_DIR_USR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +000073#endif
74#ifdef BB_CHVT
Eric Andersen67991cf2001-02-14 21:23:06 +000075 APPLET(chvt, chvt_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000076#endif
77#ifdef BB_CLEAR
Eric Andersen67991cf2001-02-14 21:23:06 +000078 APPLET(clear, clear_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000079#endif
80#ifdef BB_CMP
Eric Andersen67991cf2001-02-14 21:23:06 +000081 APPLET(cmp, cmp_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000082#endif
83#ifdef BB_CP_MV
Eric Andersen67991cf2001-02-14 21:23:06 +000084 APPLET(cp, cp_mv_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000085#endif
86#ifdef BB_CUT
Eric Andersen67991cf2001-02-14 21:23:06 +000087 APPLET(cut, cut_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000088#endif
89#ifdef BB_DATE
Eric Andersen67991cf2001-02-14 21:23:06 +000090 APPLET(date, date_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000091#endif
92#ifdef BB_DC
Eric Andersen67991cf2001-02-14 21:23:06 +000093 APPLET(dc, dc_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000094#endif
95#ifdef BB_DD
Eric Andersen67991cf2001-02-14 21:23:06 +000096 APPLET(dd, dd_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000097#endif
98#ifdef BB_DEALLOCVT
Eric Andersen67991cf2001-02-14 21:23:06 +000099 APPLET(deallocvt, deallocvt_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000100#endif
101#ifdef BB_DF
Eric Andersen67991cf2001-02-14 21:23:06 +0000102 APPLET(df, df_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000103#endif
104#ifdef BB_DIRNAME
Eric Andersen67991cf2001-02-14 21:23:06 +0000105 APPLET(dirname, dirname_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000106#endif
107#ifdef BB_DMESG
Eric Andersen67991cf2001-02-14 21:23:06 +0000108 APPLET(dmesg, dmesg_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000109#endif
110#ifdef BB_DOS2UNIX
Eric Andersen67991cf2001-02-14 21:23:06 +0000111 APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000112#endif
Glenn L McGrathc30ab0f2001-02-10 02:04:40 +0000113#ifdef BB_DPKG
Eric Andersen67991cf2001-02-14 21:23:06 +0000114 APPLET(dpkg, dpkg_main, _BB_DIR_USR_BIN)
Glenn L McGrathc30ab0f2001-02-10 02:04:40 +0000115#endif
Glenn L McGrath7541e3a2001-01-02 23:41:50 +0000116#ifdef BB_DPKG_DEB
Eric Andersen7e9276b2001-02-22 01:15:47 +0000117 APPLET_ODDNAME("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb)
Glenn L McGrath7541e3a2001-01-02 23:41:50 +0000118#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000119#ifdef BB_DU
Eric Andersen67991cf2001-02-14 21:23:06 +0000120 APPLET(du, du_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000121#endif
122#ifdef BB_DUMPKMAP
Eric Andersen67991cf2001-02-14 21:23:06 +0000123 APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000124#endif
125#ifdef BB_DUTMP
Eric Andersen67991cf2001-02-14 21:23:06 +0000126 APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000127#endif
128#ifdef BB_ECHO
Eric Andersen67991cf2001-02-14 21:23:06 +0000129 APPLET(echo, echo_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000130#endif
Mark Whitley40e5e7c2001-03-14 17:45:45 +0000131#if defined(BB_FEATURE_GREP_EGREP_ALIAS) && defined(BB_GREP)
Eric Andersene2a3cd12001-03-16 23:49:20 +0000132 APPLET_NOUSAGE("egrep", grep_main, _BB_DIR_BIN)
Mark Whitley40e5e7c2001-03-14 17:45:45 +0000133#endif
Eric Andersen84e229c2001-03-29 22:48:33 +0000134#ifdef BB_ENV
135 APPLET(env, env_main, _BB_DIR_USR_BIN)
136#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000137#ifdef BB_EXPR
Eric Andersen67991cf2001-02-14 21:23:06 +0000138 APPLET(expr, expr_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000139#endif
140#ifdef BB_TRUE_FALSE
Eric Andersen67991cf2001-02-14 21:23:06 +0000141 APPLET(false, false_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000142#endif
143#ifdef BB_FBSET
Eric Andersen0d3a02e2001-03-15 18:14:25 +0000144 APPLET(fbset, fbset_main, _BB_DIR_USR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000145#endif
146#ifdef BB_FDFLUSH
Eric Andersen67991cf2001-02-14 21:23:06 +0000147 APPLET(fdflush, fdflush_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000148#endif
149#ifdef BB_FIND
Eric Andersen67991cf2001-02-14 21:23:06 +0000150 APPLET(find, find_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000151#endif
152#ifdef BB_FREE
Eric Andersen67991cf2001-02-14 21:23:06 +0000153 APPLET(free, free_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000154#endif
155#ifdef BB_FREERAMDISK
Eric Andersen67991cf2001-02-14 21:23:06 +0000156 APPLET(freeramdisk, freeramdisk_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000157#endif
158#ifdef BB_FSCK_MINIX
Eric Andersen7e9276b2001-02-22 01:15:47 +0000159 APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, fsck_minix)
Mark Whitley130005c2000-10-25 00:28:27 +0000160#endif
161#ifdef BB_GETOPT
Eric Andersen67991cf2001-02-14 21:23:06 +0000162 APPLET(getopt, getopt_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000163#endif
164#ifdef BB_GREP
Eric Andersen67991cf2001-02-14 21:23:06 +0000165 APPLET(grep, grep_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000166#endif
167#ifdef BB_GUNZIP
Eric Andersen67991cf2001-02-14 21:23:06 +0000168 APPLET(gunzip, gunzip_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000169#endif
170#ifdef BB_GZIP
Eric Andersen67991cf2001-02-14 21:23:06 +0000171 APPLET(gzip, gzip_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000172#endif
173#ifdef BB_HALT
Eric Andersen67991cf2001-02-14 21:23:06 +0000174 APPLET(halt, halt_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000175#endif
176#ifdef BB_HEAD
Eric Andersen67991cf2001-02-14 21:23:06 +0000177 APPLET(head, head_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000178#endif
179#ifdef BB_HOSTID
Eric Andersen67991cf2001-02-14 21:23:06 +0000180 APPLET(hostid, hostid_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000181#endif
182#ifdef BB_HOSTNAME
Eric Andersen67991cf2001-02-14 21:23:06 +0000183 APPLET(hostname, hostname_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000184#endif
185#ifdef BB_ID
Eric Andersen67991cf2001-02-14 21:23:06 +0000186 APPLET(id, id_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000187#endif
Eric Andersenec455952001-02-14 08:11:27 +0000188#ifdef BB_IFCONFIG
Eric Andersen67991cf2001-02-14 21:23:06 +0000189 APPLET(ifconfig, ifconfig_main, _BB_DIR_SBIN)
Eric Andersenec455952001-02-14 08:11:27 +0000190#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000191#ifdef BB_INIT
Eric Andersen67991cf2001-02-14 21:23:06 +0000192 APPLET(init, init_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000193#endif
194#ifdef BB_INSMOD
Eric Andersen67991cf2001-02-14 21:23:06 +0000195 APPLET(insmod, insmod_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000196#endif
197#ifdef BB_KILL
Eric Andersen67991cf2001-02-14 21:23:06 +0000198 APPLET(kill, kill_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000199#endif
200#ifdef BB_KILLALL
Eric Andersen67991cf2001-02-14 21:23:06 +0000201 APPLET(killall, kill_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000202#endif
Mark Whitley6317c4b2001-03-12 22:51:50 +0000203#ifdef BB_KLOGD
204 APPLET(klogd, klogd_main, _BB_DIR_SBIN)
205#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000206#ifdef BB_LENGTH
Eric Andersen67991cf2001-02-14 21:23:06 +0000207 APPLET(length, length_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000208#endif
Eric Andersen2825ee82001-03-15 18:58:06 +0000209#ifdef BB_FEATURE_LINUXRC
Eric Andersen7e9276b2001-02-22 01:15:47 +0000210 APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT)
Mark Whitley130005c2000-10-25 00:28:27 +0000211#endif
212#ifdef BB_LN
Eric Andersen67991cf2001-02-14 21:23:06 +0000213 APPLET(ln, ln_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000214#endif
215#ifdef BB_LOADACM
Eric Andersen67991cf2001-02-14 21:23:06 +0000216 APPLET(loadacm, loadacm_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000217#endif
218#ifdef BB_LOADFONT
Eric Andersen67991cf2001-02-14 21:23:06 +0000219 APPLET(loadfont, loadfont_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000220#endif
221#ifdef BB_LOADKMAP
Eric Andersen67991cf2001-02-14 21:23:06 +0000222 APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000223#endif
224#ifdef BB_LOGGER
Eric Andersen67991cf2001-02-14 21:23:06 +0000225 APPLET(logger, logger_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000226#endif
227#ifdef BB_LOGNAME
Eric Andersen67991cf2001-02-14 21:23:06 +0000228 APPLET(logname, logname_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000229#endif
Mark Whitley6317c4b2001-03-12 22:51:50 +0000230#ifdef BB_LOGREAD
231 APPLET(logread, logread_main, _BB_DIR_SBIN)
232#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000233#ifdef BB_LS
Eric Andersen67991cf2001-02-14 21:23:06 +0000234 APPLET(ls, ls_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000235#endif
236#ifdef BB_LSMOD
Eric Andersen67991cf2001-02-14 21:23:06 +0000237 APPLET(lsmod, lsmod_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000238#endif
239#ifdef BB_MAKEDEVS
Eric Andersen67991cf2001-02-14 21:23:06 +0000240 APPLET(makedevs, makedevs_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000241#endif
242#ifdef BB_MD5SUM
Eric Andersen67991cf2001-02-14 21:23:06 +0000243 APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000244#endif
245#ifdef BB_MKDIR
Eric Andersen67991cf2001-02-14 21:23:06 +0000246 APPLET(mkdir, mkdir_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000247#endif
248#ifdef BB_MKFIFO
Eric Andersen67991cf2001-02-14 21:23:06 +0000249 APPLET(mkfifo, mkfifo_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000250#endif
251#ifdef BB_MKFS_MINIX
Eric Andersen7e9276b2001-02-22 01:15:47 +0000252 APPLET_ODDNAME("mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN, mkfs_minix)
Mark Whitley130005c2000-10-25 00:28:27 +0000253#endif
254#ifdef BB_MKNOD
Eric Andersen67991cf2001-02-14 21:23:06 +0000255 APPLET(mknod, mknod_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000256#endif
257#ifdef BB_MKSWAP
Eric Andersen67991cf2001-02-14 21:23:06 +0000258 APPLET(mkswap, mkswap_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000259#endif
260#ifdef BB_MKTEMP
Eric Andersen67991cf2001-02-14 21:23:06 +0000261 APPLET(mktemp, mktemp_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000262#endif
263#ifdef BB_MORE
Eric Andersen67991cf2001-02-14 21:23:06 +0000264 APPLET(more, more_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000265#endif
266#ifdef BB_MOUNT
Eric Andersen67991cf2001-02-14 21:23:06 +0000267 APPLET(mount, mount_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000268#endif
269#ifdef BB_MT
Eric Andersen67991cf2001-02-14 21:23:06 +0000270 APPLET(mt, mt_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000271#endif
272#ifdef BB_CP_MV
Eric Andersen67991cf2001-02-14 21:23:06 +0000273 APPLET(mv, cp_mv_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000274#endif
275#ifdef BB_NC
Eric Andersen67991cf2001-02-14 21:23:06 +0000276 APPLET(nc, nc_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000277#endif
278#ifdef BB_NSLOOKUP
Eric Andersen67991cf2001-02-14 21:23:06 +0000279 APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000280#endif
281#ifdef BB_PING
Eric Andersen67991cf2001-02-14 21:23:06 +0000282 APPLET(ping, ping_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000283#endif
Eric Andersen6fd8c662001-02-13 20:04:30 +0000284#ifdef BB_PIVOT_ROOT
Eric Andersen67991cf2001-02-14 21:23:06 +0000285 APPLET(pivot_root, pivot_root_main, _BB_DIR_SBIN)
Eric Andersen6fd8c662001-02-13 20:04:30 +0000286#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000287#ifdef BB_POWEROFF
Eric Andersen67991cf2001-02-14 21:23:06 +0000288 APPLET(poweroff, poweroff_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000289#endif
290#ifdef BB_PRINTF
Eric Andersen67991cf2001-02-14 21:23:06 +0000291 APPLET(printf, printf_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000292#endif
293#ifdef BB_PS
Eric Andersen67991cf2001-02-14 21:23:06 +0000294 APPLET(ps, ps_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000295#endif
296#ifdef BB_PWD
Eric Andersen67991cf2001-02-14 21:23:06 +0000297 APPLET(pwd, pwd_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000298#endif
299#ifdef BB_RDATE
Eric Andersen67991cf2001-02-14 21:23:06 +0000300 APPLET(rdate, rdate_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000301#endif
302#ifdef BB_READLINK
Eric Andersen67991cf2001-02-14 21:23:06 +0000303 APPLET(readlink, readlink_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000304#endif
305#ifdef BB_REBOOT
Eric Andersen67991cf2001-02-14 21:23:06 +0000306 APPLET(reboot, reboot_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000307#endif
308#ifdef BB_RENICE
Eric Andersen67991cf2001-02-14 21:23:06 +0000309 APPLET(renice, renice_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000310#endif
311#ifdef BB_RESET
Eric Andersen67991cf2001-02-14 21:23:06 +0000312 APPLET(reset, reset_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000313#endif
314#ifdef BB_RM
Eric Andersen67991cf2001-02-14 21:23:06 +0000315 APPLET(rm, rm_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000316#endif
317#ifdef BB_RMDIR
Eric Andersen67991cf2001-02-14 21:23:06 +0000318 APPLET(rmdir, rmdir_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000319#endif
320#ifdef BB_RMMOD
Eric Andersen67991cf2001-02-14 21:23:06 +0000321 APPLET(rmmod, rmmod_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000322#endif
Eric Andersenec455952001-02-14 08:11:27 +0000323#ifdef BB_ROUTE
Eric Andersen67991cf2001-02-14 21:23:06 +0000324 APPLET(route, route_main, _BB_DIR_USR_BIN)
Eric Andersenec455952001-02-14 08:11:27 +0000325#endif
Eric Andersene500d202000-11-29 21:38:11 +0000326#ifdef BB_RPMUNPACK
Eric Andersen67991cf2001-02-14 21:23:06 +0000327 APPLET(rpmunpack, rpmunpack_main, _BB_DIR_USR_BIN)
Eric Andersene500d202000-11-29 21:38:11 +0000328#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000329#ifdef BB_SED
Eric Andersen67991cf2001-02-14 21:23:06 +0000330 APPLET(sed, sed_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000331#endif
332#ifdef BB_SETKEYCODES
Eric Andersen67991cf2001-02-14 21:23:06 +0000333 APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000334#endif
335#ifdef BB_SH
Eric Andersen67991cf2001-02-14 21:23:06 +0000336 APPLET(sh, shell_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000337#endif
338#ifdef BB_SLEEP
Eric Andersen67991cf2001-02-14 21:23:06 +0000339 APPLET(sleep, sleep_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000340#endif
341#ifdef BB_SORT
Eric Andersen67991cf2001-02-14 21:23:06 +0000342 APPLET(sort, sort_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000343#endif
Eric Andersen98e599c2001-02-14 18:47:33 +0000344#ifdef BB_STTY
Eric Andersen67991cf2001-02-14 21:23:06 +0000345 APPLET(stty, stty_main, _BB_DIR_BIN)
Eric Andersen98e599c2001-02-14 18:47:33 +0000346#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000347#ifdef BB_SWAPONOFF
Eric Andersen67991cf2001-02-14 21:23:06 +0000348 APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000349#endif
350#ifdef BB_SWAPONOFF
Eric Andersen67991cf2001-02-14 21:23:06 +0000351 APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000352#endif
353#ifdef BB_SYNC
Eric Andersen67991cf2001-02-14 21:23:06 +0000354 APPLET(sync, sync_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000355#endif
356#ifdef BB_SYSLOGD
Eric Andersen67991cf2001-02-14 21:23:06 +0000357 APPLET(syslogd, syslogd_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000358#endif
359#ifdef BB_TAIL
Eric Andersen67991cf2001-02-14 21:23:06 +0000360 APPLET(tail, tail_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000361#endif
362#ifdef BB_TAR
Eric Andersen67991cf2001-02-14 21:23:06 +0000363 APPLET(tar, tar_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000364#endif
365#ifdef BB_TEE
Eric Andersen67991cf2001-02-14 21:23:06 +0000366 APPLET(tee, tee_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000367#endif
368#ifdef BB_TELNET
Eric Andersen67991cf2001-02-14 21:23:06 +0000369 APPLET(telnet, telnet_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000370#endif
371#ifdef BB_TEST
Eric Andersen67991cf2001-02-14 21:23:06 +0000372 APPLET(test, test_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000373#endif
Mark Whitley450736c2001-03-02 19:08:50 +0000374#ifdef BB_TFTP
375 APPLET(tftp, tftp_main, _BB_DIR_USR_BIN)
376#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000377#ifdef BB_TOUCH
Eric Andersen67991cf2001-02-14 21:23:06 +0000378 APPLET(touch, touch_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000379#endif
380#ifdef BB_TR
Eric Andersen67991cf2001-02-14 21:23:06 +0000381 APPLET(tr, tr_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000382#endif
383#ifdef BB_TRUE_FALSE
Eric Andersen67991cf2001-02-14 21:23:06 +0000384 APPLET(true, true_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000385#endif
386#ifdef BB_TTY
Eric Andersen67991cf2001-02-14 21:23:06 +0000387 APPLET(tty, tty_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000388#endif
389#ifdef BB_UMOUNT
Eric Andersen67991cf2001-02-14 21:23:06 +0000390 APPLET(umount, umount_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000391#endif
392#ifdef BB_UNAME
Eric Andersen67991cf2001-02-14 21:23:06 +0000393 APPLET(uname, uname_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000394#endif
395#ifdef BB_UNIQ
Eric Andersen67991cf2001-02-14 21:23:06 +0000396 APPLET(uniq, uniq_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000397#endif
398#ifdef BB_UNIX2DOS
Eric Andersen544891d2001-02-22 23:37:30 +0000399 APPLET(unix2dos, dos2unix_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000400#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000401#ifdef BB_UPDATE
Eric Andersen67991cf2001-02-14 21:23:06 +0000402 APPLET(update, update_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000403#endif
404#ifdef BB_UPTIME
Eric Andersen67991cf2001-02-14 21:23:06 +0000405 APPLET(uptime, uptime_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000406#endif
407#ifdef BB_USLEEP
Eric Andersen67991cf2001-02-14 21:23:06 +0000408 APPLET(usleep, usleep_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000409#endif
410#ifdef BB_UUDECODE
Eric Andersen67991cf2001-02-14 21:23:06 +0000411 APPLET(uudecode, uudecode_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000412#endif
413#ifdef BB_UUENCODE
Eric Andersen67991cf2001-02-14 21:23:06 +0000414 APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000415#endif
Eric Andersenffde8672001-01-25 23:40:32 +0000416#ifdef BB_WATCHDOG
Eric Andersen67991cf2001-02-14 21:23:06 +0000417 APPLET(watchdog, watchdog_main, _BB_DIR_SBIN)
Eric Andersenffde8672001-01-25 23:40:32 +0000418#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000419#ifdef BB_WC
Eric Andersen67991cf2001-02-14 21:23:06 +0000420 APPLET(wc, wc_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000421#endif
422#ifdef BB_WGET
Eric Andersen67991cf2001-02-14 21:23:06 +0000423 APPLET(wget, wget_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000424#endif
425#ifdef BB_WHICH
Eric Andersen67991cf2001-02-14 21:23:06 +0000426 APPLET(which, which_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000427#endif
428#ifdef BB_WHOAMI
Eric Andersen67991cf2001-02-14 21:23:06 +0000429 APPLET(whoami, whoami_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000430#endif
431#ifdef BB_XARGS
Eric Andersen67991cf2001-02-14 21:23:06 +0000432 APPLET(xargs, xargs_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000433#endif
434#ifdef BB_YES
Eric Andersen67991cf2001-02-14 21:23:06 +0000435 APPLET(yes, yes_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000436#endif
437#ifdef BB_GUNZIP
Eric Andersen67991cf2001-02-14 21:23:06 +0000438 APPLET(zcat, gunzip_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000439#endif
Eric Andersen8c725e62000-11-30 00:27:06 +0000440
Eric Andersen7e9276b2001-02-22 01:15:47 +0000441#if !defined(PROTOTYPES) && !defined(MAKE_USAGE)
442 { 0,NULL,0 }
Mark Whitley130005c2000-10-25 00:28:27 +0000443};
444
Eric Andersen8c725e62000-11-30 00:27:06 +0000445#endif