diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-04-24 13:36:38 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-04-24 13:36:38 +0300 |
commit | 015a34e0df0f74006b48d76eae72cfdbe9121018 (patch) | |
tree | 7591eb2a15998e183b4d077fbc5a4e51a71184ce /lib/rpmfs.h | |
parent | 9f4186766c7c628b8cc67fe0c62d58cf38b51c92 (diff) | |
download | rpm-015a34e0df0f74006b48d76eae72cfdbe9121018.tar.gz |
Eliminate header and rpmte knowledge from rpmfs
- rpmfs is such a low-level construct it doesn't need to know anything
about the upper layers. Gather the necessary bits of info in the
sole caller instead and pass only whats needed to rpmfsNew() to
enable creating a filestate item without having rpmte/header at hand,
which we'll be needing in the fsm shortly.
Diffstat (limited to 'lib/rpmfs.h')
-rw-r--r-- | lib/rpmfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rpmfs.h b/lib/rpmfs.h index 4253dd2d0..5f747533c 100644 --- a/lib/rpmfs.h +++ b/lib/rpmfs.h @@ -2,7 +2,6 @@ #define _RPMFS_H #include <rpm/rpmfi.h> -#include <rpm/rpmte.h> /** \ingroup rpmfs * Transaction element file states. @@ -24,7 +23,7 @@ extern "C" { #endif RPM_GNUC_INTERNAL -rpmfs rpmfsNew(Header h, rpmElementType type); +rpmfs rpmfsNew(rpm_count_t fc, int initState); RPM_GNUC_INTERNAL rpmfs rpmfsFree(rpmfs fs); |