diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-04-12 17:39:32 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-04-12 17:39:32 +0300 |
commit | 3f996a588a56141df146c33583a13c0542323977 (patch) | |
tree | 33fe56e1f8e03cc0613e1ce8bf44ec555f7d1cb9 /lib/rpmfi_internal.h | |
parent | fbe424f202b32a42bed599739a687ce5bfebe92f (diff) | |
download | librpm-tizen-3f996a588a56141df146c33583a13c0542323977.tar.gz librpm-tizen-3f996a588a56141df146c33583a13c0542323977.tar.bz2 librpm-tizen-3f996a588a56141df146c33583a13c0542323977.zip |
Add rpmfiFooIndex() variants for the conflict handling methods
- Preliminaries for handling file conflicts within a package:
Using rpmfi's self-iterator limits access to the file info to
one caller at a time, in order to self-file conflicts we'll need
to be able to access the same rpmfi at different indexes simultaneously.
- As these are public API's, add compat wrappers for the self-iterator
use (although AFAIK nothing except rpm itself uses these)
Diffstat (limited to 'lib/rpmfi_internal.h')
-rw-r--r-- | lib/rpmfi_internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/rpmfi_internal.h b/lib/rpmfi_internal.h index d9be7f599..9610d50e5 100644 --- a/lib/rpmfi_internal.h +++ b/lib/rpmfi_internal.h @@ -149,6 +149,16 @@ RPM_GNUC_INTERNAL struct fingerPrint_s *rpmfiFpsIndex(rpmfi fi, int ix); RPM_GNUC_INTERNAL +rpmFileAction rpmfiDecideFateIndex(rpmfi ofi, int oix, rpmfi nfi, int nix, + int skipMissing); + +RPM_GNUC_INTERNAL +int rpmfiCompareIndex(rpmfi afi, int aix, rpmfi bfi, int bix); + +RPM_GNUC_INTERNAL +int rpmfiConfigConflictIndex(rpmfi fi, int ix); + +RPM_GNUC_INTERNAL void rpmfiSetFReplacedSize(rpmfi fi, rpm_loff_t newsize); RPM_GNUC_INTERNAL |