Eliminate header and rpmte knowledge from rpmfs
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 24 Apr 2012 10:36:38 +0000 (13:36 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 24 Apr 2012 10:36:38 +0000 (13:36 +0300)
commit015a34e0df0f74006b48d76eae72cfdbe9121018
tree7591eb2a15998e183b4d077fbc5a4e51a71184ce
parent9f4186766c7c628b8cc67fe0c62d58cf38b51c92
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.
lib/rpmfs.c
lib/rpmfs.h
lib/rpmte.c