xbps/include
Juan RP 77c6c3e504 Introduce xbps_binpkg_get_file_into_fd() and use it for xbps-query(8) --cat.
This allows you to print to stdout any file stored in a binary package,
locally or remotely!

$ xbps-query -R --cat=/usr/bin/ls coreutils > ls
$ file ls
ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=7a195fc46d1d5cdca32bfccd3b30f81784e342ed, stripped
$
2014-11-17 18:43:08 +01:00
..
xbps Introduce xbps_array_add_first() to insert obj at the head of array. 2014-11-13 15:18:21 +01:00
compat.h include/compat.h: fix musl build and include inttypes.h. 2014-07-14 08:50:14 +02:00
mainpage.h
Makefile Make system/config repo.d paths always relative to rootdir. 2014-05-31 06:44:07 +02:00
queue.h
xbps_api_impl.h xbps-query(8: added --cat=FILE mode support. 2014-11-17 15:45:46 +01:00
xbps.h.in Introduce xbps_binpkg_get_file_into_fd() and use it for xbps-query(8) --cat. 2014-11-17 18:43:08 +01:00