diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-10-22 09:48:24 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-10-22 09:59:56 +0300 |
commit | 757d0b443b486b8745aabc61fb6809ae1ecf14be (patch) | |
tree | 346cb461b5505dfc024c0d82ca856dba55b07a75 /CHANGES | |
parent | 935d0654a612c28494d104f168f00e18f411d247 (diff) | |
download | librpm-tizen-757d0b443b486b8745aabc61fb6809ae1ecf14be.tar.gz librpm-tizen-757d0b443b486b8745aabc61fb6809ae1ecf14be.tar.bz2 librpm-tizen-757d0b443b486b8745aabc61fb6809ae1ecf14be.zip |
Switch header APIs to use rpmTagVal instead of rpmTag
- The header getters are used for both signature header and the "normal"
header, and even beyond that there's no requirement for a tag in
the header to be part of rpmTag enum. The headerPutFoo() variants
technically do require the tag to be found in the tag table (ie be
an rpmTag) but they still operate on the integer value, they dont
require it to be a "true" enum.
- Inside tagexts.c there are a few "true" enum uses in the
internal helper functions, leave them be.
- While this technically changes some the most commonly used API's,
this wont affect callers really: if the callers were using an enum
before, enum can always be cast naturally to an integer. The other
way around was the problematic part (ie the braindamage we're fixing
here now...)
Diffstat (limited to 'CHANGES')
0 files changed, 0 insertions, 0 deletions