Take advantage of headerGetInstance() in rpmte
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 12 Nov 2008 17:24:58 +0000 (19:24 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 12 Nov 2008 17:24:58 +0000 (19:24 +0200)
commit3cfac308be04a96a192afa8be8f6a7c08bfbdfba
tree5b9e86e35174be5d51ebda4b90ec943763f5cc5e
parent0c707fe3707aae08ce6b00393ff625cf80547074
Take advantage of headerGetInstance() in rpmte
- rpmte db_instance and dboffset are exactly the same thing, unify
- pull rpmte->db_instance from header directly, ignore dboffset argument
  to rpmteNew() (removing the arg would just break api needlessly, otoh
  it's unlikely that anything outside rpm actually uses rpmteNew())
- eliminate the now unnecessary added/removed union from te struct
- rpmteDBOffset() is now just an alias for rpmteDBInstance(), deprecate?
lib/depends.c
lib/rpmte.c
lib/rpmte.h
lib/rpmte_internal.h