Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 1 | /* |
| 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 Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 13 | #undef APPLET |
| 14 | #undef APPLET_ODDNAME |
| 15 | #undef APPLET_NOUSAGE |
| 16 | |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 17 | |
Eric Andersen | 868c057 | 2000-12-02 00:44:48 +0000 | [diff] [blame] | 18 | #if defined(PROTOTYPES) |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 19 | #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) |
| 24 | #ifdef BB_FEATURE_TRIVIAL_HELP |
| 25 | #define APPLET(a,b,c) a##_trivial_usage "\0" |
| 26 | #define APPLET_NOUSAGE(a,b,c) "\0" |
| 27 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\0" |
| 28 | #else |
| 29 | #define APPLET(a,b,c) a##_trivial_usage "\n\n" a##_full_usage "\0" |
| 30 | #define APPLET_NOUSAGE(a,b,c) "\0" |
| 31 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0" |
| 32 | #endif |
Eric Andersen | 868c057 | 2000-12-02 00:44:48 +0000 | [diff] [blame] | 33 | #else |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 34 | const struct BB_applet applets[] = { |
| 35 | #define APPLET(a,b,c) {#a,b,c}, |
| 36 | #define APPLET_NOUSAGE(a,b,c) {a,b,c}, |
| 37 | #define APPLET_ODDNAME(a,b,c,d) {a,b,c}, |
Eric Andersen | 8c725e6 | 2000-11-30 00:27:06 +0000 | [diff] [blame] | 38 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 39 | |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 40 | |
| 41 | |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 42 | #ifdef BB_TEST |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 43 | APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 44 | #endif |
| 45 | #ifdef BB_AR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 46 | APPLET(ar, ar_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 47 | #endif |
| 48 | #ifdef BB_BASENAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 49 | APPLET(basename, basename_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 50 | #endif |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 51 | APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 52 | #ifdef BB_CAT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 53 | APPLET(cat, cat_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 54 | #endif |
| 55 | #ifdef BB_CHMOD_CHOWN_CHGRP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 56 | APPLET(chgrp, chmod_chown_chgrp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 57 | #endif |
| 58 | #ifdef BB_CHMOD_CHOWN_CHGRP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 59 | APPLET(chmod, chmod_chown_chgrp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 60 | #endif |
| 61 | #ifdef BB_CHMOD_CHOWN_CHGRP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 62 | APPLET(chown, chmod_chown_chgrp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 63 | #endif |
| 64 | #ifdef BB_CHROOT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 65 | APPLET(chroot, chroot_main, _BB_DIR_USR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 66 | #endif |
| 67 | #ifdef BB_CHVT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 68 | APPLET(chvt, chvt_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 69 | #endif |
| 70 | #ifdef BB_CLEAR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 71 | APPLET(clear, clear_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 72 | #endif |
| 73 | #ifdef BB_CMP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 74 | APPLET(cmp, cmp_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 75 | #endif |
| 76 | #ifdef BB_CP_MV |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 77 | APPLET(cp, cp_mv_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 78 | #endif |
| 79 | #ifdef BB_CUT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 80 | APPLET(cut, cut_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 81 | #endif |
| 82 | #ifdef BB_DATE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 83 | APPLET(date, date_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 84 | #endif |
| 85 | #ifdef BB_DC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 86 | APPLET(dc, dc_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 87 | #endif |
| 88 | #ifdef BB_DD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 89 | APPLET(dd, dd_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 90 | #endif |
| 91 | #ifdef BB_DEALLOCVT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 92 | APPLET(deallocvt, deallocvt_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 93 | #endif |
| 94 | #ifdef BB_DF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 95 | APPLET(df, df_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 96 | #endif |
| 97 | #ifdef BB_DIRNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 98 | APPLET(dirname, dirname_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 99 | #endif |
| 100 | #ifdef BB_DMESG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 101 | APPLET(dmesg, dmesg_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 102 | #endif |
| 103 | #ifdef BB_DOS2UNIX |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 104 | APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 105 | #endif |
Glenn L McGrath | c30ab0f | 2001-02-10 02:04:40 +0000 | [diff] [blame] | 106 | #ifdef BB_DPKG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 107 | APPLET(dpkg, dpkg_main, _BB_DIR_USR_BIN) |
Glenn L McGrath | c30ab0f | 2001-02-10 02:04:40 +0000 | [diff] [blame] | 108 | #endif |
Glenn L McGrath | 7541e3a | 2001-01-02 23:41:50 +0000 | [diff] [blame] | 109 | #ifdef BB_DPKG_DEB |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 110 | APPLET_ODDNAME("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb) |
Glenn L McGrath | 7541e3a | 2001-01-02 23:41:50 +0000 | [diff] [blame] | 111 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 112 | #ifdef BB_DU |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 113 | APPLET(du, du_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 114 | #endif |
| 115 | #ifdef BB_DUMPKMAP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 116 | APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 117 | #endif |
| 118 | #ifdef BB_DUTMP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 119 | APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 120 | #endif |
| 121 | #ifdef BB_ECHO |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 122 | APPLET(echo, echo_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 123 | #endif |
| 124 | #ifdef BB_EXPR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 125 | APPLET(expr, expr_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 126 | #endif |
| 127 | #ifdef BB_TRUE_FALSE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 128 | APPLET(false, false_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 129 | #endif |
| 130 | #ifdef BB_FBSET |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 131 | APPLET_NOUSAGE("fbset", fbset_main, _BB_DIR_USR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 132 | #endif |
| 133 | #ifdef BB_FDFLUSH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 134 | APPLET(fdflush, fdflush_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 135 | #endif |
| 136 | #ifdef BB_FIND |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 137 | APPLET(find, find_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 138 | #endif |
| 139 | #ifdef BB_FREE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 140 | APPLET(free, free_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 141 | #endif |
| 142 | #ifdef BB_FREERAMDISK |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 143 | APPLET(freeramdisk, freeramdisk_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 144 | #endif |
| 145 | #ifdef BB_FSCK_MINIX |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 146 | APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, fsck_minix) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 147 | #endif |
| 148 | #ifdef BB_GETOPT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 149 | APPLET(getopt, getopt_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 150 | #endif |
| 151 | #ifdef BB_GREP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 152 | APPLET(grep, grep_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 153 | #endif |
| 154 | #ifdef BB_GUNZIP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 155 | APPLET(gunzip, gunzip_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 156 | #endif |
| 157 | #ifdef BB_GZIP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 158 | APPLET(gzip, gzip_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 159 | #endif |
| 160 | #ifdef BB_HALT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 161 | APPLET(halt, halt_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 162 | #endif |
| 163 | #ifdef BB_HEAD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 164 | APPLET(head, head_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 165 | #endif |
| 166 | #ifdef BB_HOSTID |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 167 | APPLET(hostid, hostid_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 168 | #endif |
| 169 | #ifdef BB_HOSTNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 170 | APPLET(hostname, hostname_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 171 | #endif |
| 172 | #ifdef BB_ID |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 173 | APPLET(id, id_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 174 | #endif |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 175 | #ifdef BB_IFCONFIG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 176 | APPLET(ifconfig, ifconfig_main, _BB_DIR_SBIN) |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 177 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 178 | #ifdef BB_INIT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 179 | APPLET(init, init_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 180 | #endif |
| 181 | #ifdef BB_INSMOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 182 | APPLET(insmod, insmod_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 183 | #endif |
| 184 | #ifdef BB_KILL |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 185 | APPLET(kill, kill_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 186 | #endif |
| 187 | #ifdef BB_KILLALL |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 188 | APPLET(killall, kill_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 189 | #endif |
| 190 | #ifdef BB_LENGTH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 191 | APPLET(length, length_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 192 | #endif |
| 193 | #ifdef BB_LINUXRC |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 194 | APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 195 | #endif |
| 196 | #ifdef BB_LN |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 197 | APPLET(ln, ln_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 198 | #endif |
| 199 | #ifdef BB_LOADACM |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 200 | APPLET(loadacm, loadacm_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 201 | #endif |
| 202 | #ifdef BB_LOADFONT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 203 | APPLET(loadfont, loadfont_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 204 | #endif |
| 205 | #ifdef BB_LOADKMAP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 206 | APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 207 | #endif |
| 208 | #ifdef BB_LOGGER |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 209 | APPLET(logger, logger_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 210 | #endif |
| 211 | #ifdef BB_LOGNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 212 | APPLET(logname, logname_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 213 | #endif |
| 214 | #ifdef BB_LS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 215 | APPLET(ls, ls_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 216 | #endif |
| 217 | #ifdef BB_LSMOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 218 | APPLET(lsmod, lsmod_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 219 | #endif |
| 220 | #ifdef BB_MAKEDEVS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 221 | APPLET(makedevs, makedevs_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 222 | #endif |
| 223 | #ifdef BB_MD5SUM |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 224 | APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 225 | #endif |
| 226 | #ifdef BB_MKDIR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 227 | APPLET(mkdir, mkdir_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 228 | #endif |
| 229 | #ifdef BB_MKFIFO |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 230 | APPLET(mkfifo, mkfifo_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 231 | #endif |
| 232 | #ifdef BB_MKFS_MINIX |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 233 | APPLET_ODDNAME("mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN, mkfs_minix) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 234 | #endif |
| 235 | #ifdef BB_MKNOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 236 | APPLET(mknod, mknod_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 237 | #endif |
| 238 | #ifdef BB_MKSWAP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 239 | APPLET(mkswap, mkswap_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 240 | #endif |
| 241 | #ifdef BB_MKTEMP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 242 | APPLET(mktemp, mktemp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 243 | #endif |
| 244 | #ifdef BB_MORE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 245 | APPLET(more, more_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 246 | #endif |
| 247 | #ifdef BB_MOUNT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 248 | APPLET(mount, mount_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 249 | #endif |
| 250 | #ifdef BB_MT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 251 | APPLET(mt, mt_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 252 | #endif |
| 253 | #ifdef BB_CP_MV |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 254 | APPLET(mv, cp_mv_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 255 | #endif |
| 256 | #ifdef BB_NC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 257 | APPLET(nc, nc_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 258 | #endif |
| 259 | #ifdef BB_NSLOOKUP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 260 | APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 261 | #endif |
| 262 | #ifdef BB_PING |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 263 | APPLET(ping, ping_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 264 | #endif |
Eric Andersen | 6fd8c66 | 2001-02-13 20:04:30 +0000 | [diff] [blame] | 265 | #ifdef BB_PIVOT_ROOT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 266 | APPLET(pivot_root, pivot_root_main, _BB_DIR_SBIN) |
Eric Andersen | 6fd8c66 | 2001-02-13 20:04:30 +0000 | [diff] [blame] | 267 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 268 | #ifdef BB_POWEROFF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 269 | APPLET(poweroff, poweroff_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 270 | #endif |
| 271 | #ifdef BB_PRINTF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 272 | APPLET(printf, printf_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 273 | #endif |
| 274 | #ifdef BB_PS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 275 | APPLET(ps, ps_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 276 | #endif |
| 277 | #ifdef BB_PWD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 278 | APPLET(pwd, pwd_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 279 | #endif |
| 280 | #ifdef BB_RDATE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 281 | APPLET(rdate, rdate_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 282 | #endif |
| 283 | #ifdef BB_READLINK |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 284 | APPLET(readlink, readlink_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 285 | #endif |
| 286 | #ifdef BB_REBOOT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 287 | APPLET(reboot, reboot_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 288 | #endif |
| 289 | #ifdef BB_RENICE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 290 | APPLET(renice, renice_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 291 | #endif |
| 292 | #ifdef BB_RESET |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 293 | APPLET(reset, reset_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 294 | #endif |
| 295 | #ifdef BB_RM |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 296 | APPLET(rm, rm_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 297 | #endif |
| 298 | #ifdef BB_RMDIR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 299 | APPLET(rmdir, rmdir_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 300 | #endif |
| 301 | #ifdef BB_RMMOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 302 | APPLET(rmmod, rmmod_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 303 | #endif |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 304 | #ifdef BB_ROUTE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 305 | APPLET(route, route_main, _BB_DIR_USR_BIN) |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 306 | #endif |
Eric Andersen | e500d20 | 2000-11-29 21:38:11 +0000 | [diff] [blame] | 307 | #ifdef BB_RPMUNPACK |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 308 | APPLET(rpmunpack, rpmunpack_main, _BB_DIR_USR_BIN) |
Eric Andersen | e500d20 | 2000-11-29 21:38:11 +0000 | [diff] [blame] | 309 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 310 | #ifdef BB_SED |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 311 | APPLET(sed, sed_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 312 | #endif |
| 313 | #ifdef BB_SETKEYCODES |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 314 | APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 315 | #endif |
| 316 | #ifdef BB_SH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 317 | APPLET(sh, shell_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 318 | #endif |
| 319 | #ifdef BB_SLEEP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 320 | APPLET(sleep, sleep_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 321 | #endif |
| 322 | #ifdef BB_SORT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 323 | APPLET(sort, sort_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 324 | #endif |
Eric Andersen | 98e599c | 2001-02-14 18:47:33 +0000 | [diff] [blame] | 325 | #ifdef BB_STTY |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 326 | APPLET(stty, stty_main, _BB_DIR_BIN) |
Eric Andersen | 98e599c | 2001-02-14 18:47:33 +0000 | [diff] [blame] | 327 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 328 | #ifdef BB_SWAPONOFF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 329 | APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 330 | #endif |
| 331 | #ifdef BB_SWAPONOFF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 332 | APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 333 | #endif |
| 334 | #ifdef BB_SYNC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 335 | APPLET(sync, sync_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 336 | #endif |
| 337 | #ifdef BB_SYSLOGD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 338 | APPLET(syslogd, syslogd_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 339 | #endif |
| 340 | #ifdef BB_TAIL |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 341 | APPLET(tail, tail_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 342 | #endif |
| 343 | #ifdef BB_TAR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 344 | APPLET(tar, tar_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 345 | #endif |
| 346 | #ifdef BB_TEE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 347 | APPLET(tee, tee_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 348 | #endif |
| 349 | #ifdef BB_TELNET |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 350 | APPLET(telnet, telnet_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 351 | #endif |
| 352 | #ifdef BB_TEST |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 353 | APPLET(test, test_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 354 | #endif |
| 355 | #ifdef BB_TOUCH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 356 | APPLET(touch, touch_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 357 | #endif |
| 358 | #ifdef BB_TR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 359 | APPLET(tr, tr_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 360 | #endif |
| 361 | #ifdef BB_TRUE_FALSE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 362 | APPLET(true, true_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 363 | #endif |
| 364 | #ifdef BB_TTY |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 365 | APPLET(tty, tty_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 366 | #endif |
| 367 | #ifdef BB_UMOUNT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 368 | APPLET(umount, umount_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 369 | #endif |
| 370 | #ifdef BB_UNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 371 | APPLET(uname, uname_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 372 | #endif |
| 373 | #ifdef BB_UNIQ |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 374 | APPLET(uniq, uniq_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 375 | #endif |
| 376 | #ifdef BB_UNIX2DOS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 377 | APPLET(unix2dos, unix2dos_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 378 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 379 | #ifdef BB_UPDATE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 380 | APPLET(update, update_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 381 | #endif |
| 382 | #ifdef BB_UPTIME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 383 | APPLET(uptime, uptime_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 384 | #endif |
| 385 | #ifdef BB_USLEEP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 386 | APPLET(usleep, usleep_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 387 | #endif |
| 388 | #ifdef BB_UUDECODE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 389 | APPLET(uudecode, uudecode_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 390 | #endif |
| 391 | #ifdef BB_UUENCODE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 392 | APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 393 | #endif |
Eric Andersen | ffde867 | 2001-01-25 23:40:32 +0000 | [diff] [blame] | 394 | #ifdef BB_WATCHDOG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 395 | APPLET(watchdog, watchdog_main, _BB_DIR_SBIN) |
Eric Andersen | ffde867 | 2001-01-25 23:40:32 +0000 | [diff] [blame] | 396 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 397 | #ifdef BB_WC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 398 | APPLET(wc, wc_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 399 | #endif |
| 400 | #ifdef BB_WGET |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 401 | APPLET(wget, wget_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 402 | #endif |
| 403 | #ifdef BB_WHICH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 404 | APPLET(which, which_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 405 | #endif |
| 406 | #ifdef BB_WHOAMI |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 407 | APPLET(whoami, whoami_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 408 | #endif |
| 409 | #ifdef BB_XARGS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 410 | APPLET(xargs, xargs_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 411 | #endif |
| 412 | #ifdef BB_YES |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 413 | APPLET(yes, yes_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 414 | #endif |
| 415 | #ifdef BB_GUNZIP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 416 | APPLET(zcat, gunzip_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 417 | #endif |
Eric Andersen | 8c725e6 | 2000-11-30 00:27:06 +0000 | [diff] [blame] | 418 | |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame^] | 419 | #if !defined(PROTOTYPES) && !defined(MAKE_USAGE) |
| 420 | { 0,NULL,0 } |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 421 | }; |
| 422 | |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 423 | /* The -1 arises because of the {0,NULL,0,-1} entry above. */ |
Eric Andersen | a683ee8 | 2000-11-17 18:51:45 +0000 | [diff] [blame] | 424 | size_t NUM_APPLETS = (sizeof (applets) / sizeof (struct BB_applet) - 1); |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 425 | |
Eric Andersen | 8c725e6 | 2000-11-30 00:27:06 +0000 | [diff] [blame] | 426 | #endif |