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-14 13:28:02 +0100 |
commit | a986e8dadb0c70634f6d1d89dd3e7bb5d9af3078 (patch) | |
tree | 0c47b84880241960ccf6a775e8599057ad913869 /src/Makefile.am | |
parent | 3336b5448f12c9eb25bf7a0cecda1315c4cf07ea (diff) | |
download | libguestfs-a986e8dadb0c70634f6d1d89dd3e7bb5d9af3078.tar.gz libguestfs-a986e8dadb0c70634f6d1d89dd3e7bb5d9af3078.tar.xz libguestfs-a986e8dadb0c70634f6d1d89dd3e7bb5d9af3078.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.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 6aea6cc2..32ac7df3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -124,6 +124,7 @@ libguestfs_la_SOURCES = \ actions.c \ appliance.c \ bindtests.c \ + dbdump.c \ events.c \ filearch.c \ inspect.c \ |