aboutsummaryrefslogtreecommitdiff
path: root/include/busybox.h
AgeCommit message (Collapse)Author
2005-09-29reorder include <sys/types.h> and <sys/types.h>."Vladimir N. Oleynik"
2005-09-21- make sure to include dmalloc.h at the very end of busybox.h or libbb.h.Bernhard Reutner-Fischer
2005-07-27#ifdef reduction infrastructure, based on an argument between Shaun Jackman,Rob Landley
Rob Landley, and others. Currently CONFIG options are defined or undefined, so we chop out code with #ifdefs, ala: #ifdef CONFIG_THING stuff(); #endif This creates a new header file, bb_config.h, which sets the CONFIG entry to 1 or 0, and lets us do: if(CONFIG_THING) stuff(); And let the compiler do dead code elimination to get rid of it. (Note: #ifdef will still work because for the 1 case it's a static const int, not a #define.)
2005-03-04newlib fixe from Shaun JackmanMike Frysinger
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-02-05Make sure stdlib.h is always included before dmalloc.h to avoid problemsManuel Novoa III
parsing problems.
2004-01-13Patch from Bastian Blank, allow the buildtime to be overriden with aGlenn L McGrath
different string, used by the debian busybox-cvs to specify the debian date based version number.
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-02-08Patch from mathuria, compatability with solarisGlenn L McGrath
2002-08-22Remove unwanted comments, run through indentGlenn L McGrath
2002-06-04Implement two types of suid/sgid support for BusyBox:Robert Griebl
1) tinylogin like with compile time selection and a chown root.root 2) Runtime configurable via /etc/busybox.conf (docu is in the works) [Parts of this patch may overlap with my other two patches]
2002-03-16Try to pull in PATH_MAX properlyEric Andersen
2002-01-26If PATH_MAX isn't defined, define it outselvesEric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-07-19Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.cMatt Kraai
(noted by Adam Slattery).
2001-04-24Move applet_name declaration from busybox.h to libbb.h.Matt Kraai
2001-04-20Applied patch from Larry Doolittle to give users the third option of puttingMark Whitley
buffers in BSS (in addition to stack and heap).
2001-04-12Use date -u instead of date --utc and consolidate version string.Matt Kraai
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
2001-03-27In fact, socklen_t *is* defined by libc5.Mark Whitley
2001-03-16Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen
files. Clean up the resulting damage and fix up the makefile. -Erik
2001-03-14Amazing the difference between an "and" and an "or".Eric Andersen
2001-03-14Some updates for libc5Eric Andersen
2001-03-13Applied patch from Christophe Boyanique to add -i support to rm.Mark Whitley
2001-03-12Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley
klogd (as it should be).
2001-03-08Add in 'trim' routine. Fix up sh.c so it works when wordexpEric Andersen
is not available. -Erik
2001-03-07Changed KILOBYTE, MEGABYTE, and GIGABYTE from #define to enum.Mark Whitley
2001-03-07Some minor cleanups to df.c. Also, with Erik's blessing, changed name ofMark Whitley
'format' function to 'make_human_readable_str'.
2001-03-01Applied patch from David Douthitt to fix build error in df.c whenMark Whitley
BB_FEATURE_HUMAN_READABLE was disabled.
2001-02-27Patch from Vladimir N. Oleynik to save 128 bytes by moving errorEric Andersen
checking for some my_* functions to utility.c
2001-02-22Turn off the printf attribute for the ?error_msg* functions, since itEric Andersen
is ok to pass them a NULL, unlike printf. This silences a pointless warning message. -Erik
2001-02-22Another update to the way usage messages are done by Evin RobertsonEric Andersen
<nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-14Add in ifconfig and routeEric Andersen
2001-02-14Several cleanups from Manuel Novoa III.Eric Andersen
get_kernel_revision -- size reduction NOTE: may want to combine with get_kernel_version in insmod??? parse_mode -- size reduction, multiple settings with "," now work correctly, sticky-bit setting now implemented process_escape_sequence -- size reduction, octal code to big for char bug fixed format -- size reduction, val > LONG_MAX and hr = 1 printing bug fixed (was %ld),
2001-02-05Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.Matt Kraai
2001-02-01Create find_applet_by_name function. Save 32 bytes.Matt Kraai
2001-02-01Fix wget error message and add (and use) chomp library function.Matt Kraai
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
2001-01-25Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.Eric Andersen
-Erik
2001-01-22Add HUMAN_READABLE define for -m and -h support in du, df, and lsRichard June
Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default) Fix bug #1084
2001-01-02Better dmalloc handlingEric Andersen
2000-12-19Fix tar handling of absolute paths and excluded directories.Matt Kraai
2000-12-18Rewrote dd.Matt Kraai
2000-12-15Rewrite nc to be simpler, smaller, and to check syscalls for errors.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-05Removed isBlank and isWildCard macros that were totally unused (should anyoneMark Whitley
need isBlank, please use isblank() in ctype.h). Converted isDecimal and isOctal into inline functions. Compiled, tested, worked.
2000-12-05Fixed the comments to match the code and renamed the function to a (hopefully)Mark Whitley
more descriptive name, and as per the style guide.
2000-12-04Flag day warning!Eric Andersen
Change TRUE and FALSE defines to normal C style TRUE=1, FALSE=0. -Erik
2000-12-01Remove #ifdef __STDC__ junk. We don't do K&R round these parts,Eric Andersen
so no point acting like we do.
2000-11-30Patch from Larry Doolittle (with minor touchups from me so everything compilesEric Andersen
and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes.