summaryrefslogtreecommitdiff
path: root/include/busybox.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* do not put all <applet>_main() declarationsDenis Vlasenko2007-02-031-12/+2
| | | | in busybox.h - this produces false dependencies
* Cleanup usage messages (-200 bytes).Denis Vlasenko2006-12-241-0/+1
| | | | | Remove busybox_main from applet table since it is called via separate check
* random tiny size savingsDenis Vlasenko2006-12-241-2/+3
|
* build system overhaulDenis Vlasenko2006-10-051-2/+0
|
* add ordering warning on enum LocationPaul Fox2006-06-091-0/+1
|
* Header file cleanup. platform.h apparently needs to be included early on so itRob Landley2006-05-311-27/+0
| | | | | | | | | | | can figure out what header files to include, and override stuff that comes later. But applets shouldn't include platform.h directly, they should include busybox.h or libbb.h. Since busybox.h already includes libbb.h, move libbb.h to the top of busybox.h and platform.h near the top of libbb.h (right after bbconfig.h, which is something platform.h also needs access to). While we're at it, move some stuff from busybox.h to libbb.h so we have one big file to audit/clean up/try to make sense of instead of many.
* - move libc checks from busybox.h to platform.hBernhard Reutner-Fischer2006-05-261-8/+0
| | | | | | | - add ATTRIBUTE_ALWAYS_INLINE, endian handling for DEC UNIX, some more compiler dependent defines to platform.h - add conditional bb_setpgrp define to platform.h - remove superfluous specifying args from "#define fdprintf dprintf"
* - move buffer allocation schemes to libbb.hBernhard Reutner-Fischer2006-04-031-17/+0
| | | | - include the correct headers: applets need busybox.h while lib* need libbb.h
* moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"2006-02-161-5/+1
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-20/+3
| | | | - use shorter boilerplate while at it.
* reorder include <sys/types.h> and <sys/types.h>."Vladimir N. Oleynik"2005-09-291-1/+1
|
* - make sure to include dmalloc.h at the very end of busybox.h or libbb.h.Bernhard Reutner-Fischer2005-09-211-4/+4
|
* #ifdef reduction infrastructure, based on an argument between Shaun Jackman,Rob Landley2005-07-271-1/+1
| | | | | | | | | | | | | | | | | | | 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.)
* newlib fixe from Shaun JackmanMike Frysinger2005-03-041-4/+4
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* Make sure stdlib.h is always included before dmalloc.h to avoid problemsManuel Novoa III2004-02-051-0/+1
| | | | parsing problems.
* Patch from Bastian Blank, allow the buildtime to be overriden with aGlenn L McGrath2004-01-131-0/+4
| | | | | different string, used by the debian busybox-cvs to specify the debian date based version number.
* Remove remaining libc5 support codeEric Andersen2003-07-221-11/+6
|
* Patch from mathuria, compatability with solarisGlenn L McGrath2003-02-081-0/+2
|
* Remove unwanted comments, run through indentGlenn L McGrath2002-08-221-11/+10
|
* Implement two types of suid/sgid support for BusyBox:Robert Griebl2002-06-041-2/+10
| | | | | | 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]
* Try to pull in PATH_MAX properlyEric Andersen2002-03-161-0/+4
|
* If PATH_MAX isn't defined, define it outselvesEric Andersen2002-01-261-1/+3
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-14/+14
| | | | -Erik
* Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.cMatt Kraai2001-07-191-0/+3
| | | | (noted by Adam Slattery).
* Move applet_name declaration from busybox.h to libbb.h.Matt Kraai2001-04-241-2/+0
|
* Applied patch from Larry Doolittle to give users the third option of puttingMark Whitley2001-04-201-0/+5
| | | | buffers in BSS (in addition to stack and heap).
* Use date -u instead of date --utc and consolidate version string.Matt Kraai2001-04-121-0/+2
| | | | Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
* In fact, socklen_t *is* defined by libc5.Mark Whitley2001-03-271-6/+0
|
* Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen2001-03-161-180/+13
| | | | | files. Clean up the resulting damage and fix up the makefile. -Erik
* Amazing the difference between an "and" and an "or".Eric Andersen2001-03-141-1/+2
|
* Some updates for libc5Eric Andersen2001-03-141-0/+8
|
* Applied patch from Christophe Boyanique to add -i support to rm.Mark Whitley2001-03-131-0/+4
|
* Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley2001-03-121-0/+5
| | | | klogd (as it should be).
* Add in 'trim' routine. Fix up sh.c so it works when wordexpEric Andersen2001-03-081-0/+1
| | | | | is not available. -Erik
* Changed KILOBYTE, MEGABYTE, and GIGABYTE from #define to enum.Mark Whitley2001-03-071-3/+5
|
* Some minor cleanups to df.c. Also, with Erik's blessing, changed name ofMark Whitley2001-03-071-1/+1
| | | | 'format' function to 'make_human_readable_str'.
* Applied patch from David Douthitt to fix build error in df.c whenMark Whitley2001-03-011-1/+1
| | | | BB_FEATURE_HUMAN_READABLE was disabled.
* Patch from Vladimir N. Oleynik to save 128 bytes by moving errorEric Andersen2001-02-271-3/+3
| | | | checking for some my_* functions to utility.c
* Turn off the printf attribute for the ?error_msg* functions, since itEric Andersen2001-02-221-4/+4
| | | | | | is ok to pass them a NULL, unlike printf. This silences a pointless warning message. -Erik
* Another update to the way usage messages are done by Evin RobertsonEric Andersen2001-02-221-7/+0
| | | | | | <nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+9
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Add in ifconfig and routeEric Andersen2001-02-141-0/+1
|
* Several cleanups from Manuel Novoa III.Eric Andersen2001-02-141-1/+1
| | | | | | | | | | | | 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),
* Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.Matt Kraai2001-02-051-1/+2
|
* Create find_applet_by_name function. Save 32 bytes.Matt Kraai2001-02-011-1/+1
|
* Fix wget error message and add (and use) chomp library function.Matt Kraai2001-02-011-0/+1
|
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-31/+1
| | | | | | | 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
* Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.Eric Andersen2001-01-251-0/+8
| | | | -Erik
* Add HUMAN_READABLE define for -m and -h support in du, df, and lsRichard June2001-01-221-0/+7
| | | | | 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