diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-04-14 13:28:02 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-04-18 22:09:33 +0100 |
commit | 0c1369f78b4a2276dcd004eb06cccf5c32e7f2da (patch) | |
tree | fbfd65682f7118444a5f1e9697fd846f4920a2c8 /python/guestfs-py.c | |
parent | 8e6e547af32116accfe4aa9cae36d3cd073f1c66 (diff) | |
download | libguestfs-0c1369f78b4a2276dcd004eb06cccf5c32e7f2da.tar.gz libguestfs-0c1369f78b4a2276dcd004eb06cccf5c32e7f2da.tar.xz libguestfs-0c1369f78b4a2276dcd004eb06cccf5c32e7f2da.zip |
inspect: Abstract out db_dump code for listing RPM applications.
There are two changes here:
(1) The code for listing RPM applications ran db_dump and parsed the
output. We abstract out that parsing code into a separate reusable
module (src/dbdump.c).
(2) The old db_dump parsing code used db_dump -p (printable) format.
Instead use db_dump -k (hex) format so we can read binary fields.
(cherry picked from commit a986e8dadb0c70634f6d1d89dd3e7bb5d9af3078)
Diffstat (limited to 'python/guestfs-py.c')
0 files changed, 0 insertions, 0 deletions