diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-13 20:35:33 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-13 20:35:33 +0200 |
commit | 1e96ead46670088e6b867cc989eadbef092d5864 (patch) | |
tree | 6a884ee7056ff9d8ceb3161dd0b1b758c0a078a2 /lib/rpmts.h | |
parent | 7e56c6355bea552d89e8d5d0a317763a8cee4a4f (diff) | |
download | rpm-1e96ead46670088e6b867cc989eadbef092d5864.tar.gz rpm-1e96ead46670088e6b867cc989eadbef092d5864.tar.bz2 rpm-1e96ead46670088e6b867cc989eadbef092d5864.zip |
Use rpm_tagtype_t everywhere for rpm (header) tagtype type
- typedef'ed as uint32_t, doesn't matter much but negative types dont exist
- easy to grep, easy to change...
- define RPM_FORCEFREE_TYPE instead of -1 "magic" for forcing
headerFreeData (ugh), easier to grep for and change than "-1"
Diffstat (limited to 'lib/rpmts.h')
-rw-r--r-- | lib/rpmts.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmts.h b/lib/rpmts.h index a4323867c..17ff2af59 100644 --- a/lib/rpmts.h +++ b/lib/rpmts.h @@ -527,7 +527,7 @@ rpm_tag_t rpmtsSigtag(const rpmts ts); * @param ts transaction set * @return signature tag type */ -int32_t rpmtsSigtype(const rpmts ts); +rpm_tagtype_t rpmtsSigtype(const rpmts ts); /** \ingroup rpmts * Get signature tag data, i.e. from header. @@ -553,7 +553,7 @@ size_t rpmtsSiglen(const rpmts ts); * @return 0 always */ int rpmtsSetSig(rpmts ts, - rpm_tag_t sigtag, int32_t sigtype, + rpm_tag_t sigtag, rpm_tagtype_t sigtype, const void * sig, size_t siglen); /** \ingroup rpmts |