busybox/include
Ron Yorston c339c7f7b3 libarchive: add a function to unpack embedded data
Similar code to unpack embedded data is used to decompress usage
messages, embedded scripts and the config file (in the non-default
bbconfig applet).

Moving this code to a common function reduces the size of the default
build and hides more of the internals of libarchive.

function                                             old     new   delta
unpack_bz2_data                                        -     135    +135
bb_show_usage                                        137     157     +20
get_script_content                                    32      47     +15
unpack_scripts                                       119       -    -119
unpack_usage_messages                                124       -    -124
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 2/0 up/down: 170/-243)          Total: -73 bytes

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-11-02 14:14:51 +01:00
..
.gitignore ash: allow shell scripts to be embedded in the binary 2018-11-01 10:15:13 +01:00
applet_metadata.h
applets.h.sh
applets.src.h
ar.h
bb_archive.h libarchive: add a function to unpack embedded data 2018-11-02 14:14:51 +01:00
bb_e2fs_defs.h
busybox.h
dump.h
fix_u32.h
grp_.h
inet_common.h
libbb.h ash: recognize embedded scripts in SH_STANDALONE mode 2018-11-01 11:07:26 +01:00
liblzo_interface.h lzop: code shrink 2018-02-01 01:41:31 +01:00
platform.h Hopefully fix "will break strict-aliasing rules" warning for get_le32 2017-08-10 12:40:48 +02:00
pwd_.h
rtc_.h
shadow_.h
unicode.h
usage.src.h
volume_id.h
xatonum.h
xregex.h