aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert a chunk of usage.h to USE_ and SKIP_ (more to do there), and fix alandley2006-04-251-129/+50
| | | | | | | DEFALT typo in du while I was there. git-svn-id: svn://busybox.net/trunk/busybox@14942 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet cksum, from Rob Sullivan.landley2006-04-182-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - enable dumpleases applet again; bad robaldot2006-04-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14909 69ca8d6d-28ef-0310-b511-8ec308f3f277
* enable udhcp applets again; bad robvapier2006-04-171-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add and use bb_xopen3()aldot2006-04-131-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14847 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add and use bb_xchdir()aldot2006-04-121-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14837 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()aldot2006-04-121-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14836 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add and use bb_xdaemon()aldot2006-04-121-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14834 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add and use bb_xsocket() and to usealdot2006-04-121-0/+1
| | | | | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@14833 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add and use bb_opendir(), bb_xopendir().aldot2006-04-121-0/+3
| | | | | | | | | | | text data bss dec hex filename 889445 9392 1035784 1934621 1d851d busybox.gcc-4.2.orig 889297 9392 1035784 1934473 1d8489 busybox.gcc-4.2 889009 9820 1037860 1936689 1d8d31 busybox.gcc-4.1.orig 888817 9820 1037860 1936497 1d8c71 busybox.gcc-4.1 git-svn-id: svn://busybox.net/trunk/busybox@14830 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - include netinet/in.h for struct sockaddr_in.aldot2006-04-111-0/+1
| | | | | | | Closes bug #735 git-svn-id: svn://busybox.net/trunk/busybox@14822 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. J. Day writes: even in the header file, make it clear that the ↵vapier2006-04-111-0/+3
| | | | | | routine depends on __uClinux__ git-svn-id: svn://busybox.net/trunk/busybox@14812 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito to unify deluser and delgroup, and generally shrink code.landley2006-04-101-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Rob Sullivan to consolidate crc32 table generation.landley2006-04-101-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Rob Sullivan to add support for -Laldot2006-04-061-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14764 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - new applet diff. Rob Sullivan writes:aldot2006-04-062-0/+21
| | | | | | | | | | | | | Here's my attempt at a mini diff applet - it's adapted from the code at http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/, and only supports unified diffs. I've busyboxified everything to a reasonable degree, so I think the code is suitable enough to be included, but there's still a fair bit of cleaning up to be done. git-svn-id: svn://busybox.net/trunk/busybox@14760 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move buffer allocation schemes to libbb.haldot2006-04-032-17/+18
| | | | | | | - include the correct headers: applets need busybox.h while lib* need libbb.h git-svn-id: svn://busybox.net/trunk/busybox@14739 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typos: s/compatability/compatibility/g;s/compatable/compatible/g;aldot2006-04-022-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14728 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typo: s/compenent/component/galdot2006-04-021-3/+6
| | | | | | | add a bit of documentation. git-svn-id: svn://busybox.net/trunk/busybox@14727 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - update help text.aldot2006-03-311-2/+2
| | | | | | | | the interface argument is now a lowercase 'i' to match the big arping commandline-syntax. git-svn-id: svn://busybox.net/trunk/busybox@14711 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update ipaddr help to match reality.landley2006-03-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14699 69ca8d6d-28ef-0310-b511-8ec308f3f277
* find ./ -name .cvsignore | xargs svn rmaldot2006-03-291-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14686 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespace fixesvapier2006-03-281-16/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14676 69ca8d6d-28ef-0310-b511-8ec308f3f277
* setlogcons, from Jan Kaszka.landley2006-03-272-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14675 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Define both big endian and little endian macros.landley2006-03-251-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix typovapier2006-03-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14612 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup: remove double quotes that don't seem to be needed.landley2006-03-201-30/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14585 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito unified fdflush and freeramdisk. I tweaked the result a bit.landley2006-03-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko to add xstat() and use it.landley2006-03-131-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup to the previous (portability) patch. Linux actually does needlandley2006-03-093-2/+9
| | | | | | | arpa/inet.h rather than netinet/in.h, otherwise we get warnings. git-svn-id: svn://busybox.net/trunk/busybox@14499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Portability patch from rfelker. The bb_asprintf.c thing needs an eventuallandley2006-03-092-1/+2
| | | | | | | | follow up in platform.h to set the #ifdef, but the workaround works for everybody, so... git-svn-id: svn://busybox.net/trunk/busybox@14498 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import most of e2fsprogs 1.38 updatesvapier2006-03-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14468 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Missed one in the get_line_from_file() update...landley2006-02-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - put NLS stuff in one central place to avoid redefines.aldot2006-02-231-1/+5
| | | | | | | | | | | Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined git-svn-id: svn://busybox.net/trunk/busybox@14235 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert all the applets from #include to USE(). Had to fix some nonstandardlandley2006-02-231-738/+251
| | | | | | | naming along the way to get USE() macros for everything. git-svn-id: svn://busybox.net/trunk/busybox@14220 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix applet ordervapier2006-02-221-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14217 69ca8d6d-28ef-0310-b511-8ec308f3f277
* You don't need an #ifdef around #defines in usage.landley2006-02-221-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14211 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweakedlandley2006-02-212-3/+38
| | | | | | | md5_sha1_sum.c to convert some #ifdef CONFIG to if(ENABLE).) git-svn-id: svn://busybox.net/trunk/busybox@14160 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Walter Harms added -D to date, and I did a code cleanup while I was in thelandley2006-02-211-4/+7
| | | | | | | area. Probably broke something... git-svn-id: svn://busybox.net/trunk/busybox@14158 69ca8d6d-28ef-0310-b511-8ec308f3f277
* eat extraneous newlines at the end of applet full usagevapier2006-02-211-12/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14157 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add setarch/linux32/linux64 appletvapier2006-02-212-0/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Giuseppe Ciotta to specify retry count.landley2006-02-201-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove #undef strlen, use #define strlen always but without ↵vodz2006-02-201-0/+2
| | | | | | xfunc/BB_STRLEN_IMPLEMENTATION git-svn-id: svn://busybox.net/trunk/busybox@14145 69ca8d6d-28ef-0310-b511-8ec308f3f277
* moved BB_BANNER to applets/version.c file: make kernel like version, vodz2006-02-161-5/+1
| | | | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h git-svn-id: svn://busybox.net/trunk/busybox@14080 69ca8d6d-28ef-0310-b511-8ec308f3f277
* full removed config.h, use bb_config.h onlyvodz2006-02-151-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New USE() macroslandley2006-02-131-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For each CONFIG_SYMBOL, include/bb_config.h now has both ENABLE_SYMBOL and USE_SYMBOL(x). ENABLE_SYMBOL is still always defined (1 or 0) so that if(ENABLE) should optimize out when it's zero. The USE_SYMBOL(X) will only splice in X if the symbol is defined, otherwise it'll be empty. Thus we can convert this: #ifdef CONFIG_ARGS opt = bb_getopt_ulflags(argc, argv, "ab:c" #ifdef CONFIG_THINGY "d:" #endif , &bvalue #ifdef CONFIG_THINGY , &thingy #endif ); #endif into this: if (ENABLE_ARGS) { opt = bb_getopt_ulflags(argc, argv, "ab:c" USE_THINGY("d:"), &bvalue USE_THINGY(, &thingy)); } And it should produce the same code. Unlike the old versions in include/_usage.h, the new USE_SYMBOL(x) can handle commas in its arguments (as shown above). (The _usage.h file is obsolete and no longer generated.) Nobody should need to include config.h directly anymore, bb_config.h should define all the configuration stuff we need. Someday, the CONFIG_SYMBOL versions should go away in favor of ENABLE_SYMBOL and USE_SYMBOL(). Thanks to vodz for the new version of bb_mkdep.c that works with function macros. git-svn-id: svn://busybox.net/trunk/busybox@13955 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixup whitespace in awk help outputvapier2006-02-061-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13861 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix mdev help outputvapier2006-02-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13798 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add and use ATTRIBUTE_ALIGNED(num_bytes)aldot2006-01-311-0/+4
| | | | | | | - remove unused parameter pindex from fdisk.c, xbsd_initlabel() git-svn-id: svn://busybox.net/trunk/busybox@13751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.landley2006-01-302-11/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13701 69ca8d6d-28ef-0310-b511-8ec308f3f277