diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-13 19:32:37 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-13 19:32:37 +0200 |
commit | 7e56c6355bea552d89e8d5d0a317763a8cee4a4f (patch) | |
tree | c18ddebb9e8e6da144d00909c61fdcecdf718057 /build/rpmspec.h | |
parent | cbd7a684a4cd88bfa3383658790be3c37230707a (diff) | |
download | rpm-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.tar.gz rpm-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.tar.bz2 rpm-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.zip |
Use rpm_tag_t everywhere for rpm (header) tag type
- typedef'ed as int32_t for now, negative values used in some places for
error cases
- easy to grep, easy to change...
- add RPMTAG_NOT_FOUND define, used in place of -1 "magic",
Diffstat (limited to 'build/rpmspec.h')
-rw-r--r-- | build/rpmspec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/rpmspec.h b/build/rpmspec.h index dc511485d..64dca0ce0 100644 --- a/build/rpmspec.h +++ b/build/rpmspec.h @@ -209,7 +209,7 @@ struct OpenFileInfo * newOpenFileInfo(void); * @param tag tag * @param lang locale */ -spectag stashSt(rpmSpec spec, Header h, int tag, const char * lang); +spectag stashSt(rpmSpec spec, Header h, rpm_tag_t tag, const char * lang); /** \ingroup rpmbuild * addSource. @@ -218,7 +218,7 @@ spectag stashSt(rpmSpec spec, Header h, int tag, const char * lang); * @param field field to parse * @param tag tag */ -int addSource(rpmSpec spec, Package pkg, const char * field, int tag); +int addSource(rpmSpec spec, Package pkg, const char * field, rpm_tag_t tag); /** \ingroup rpmbuild * parseNoSource. @@ -226,7 +226,7 @@ int addSource(rpmSpec spec, Package pkg, const char * field, int tag); * @param field field to parse * @param tag tag */ -int parseNoSource(rpmSpec spec, const char * field, int tag); +int parseNoSource(rpmSpec spec, const char * field, rpm_tag_t tag); #ifdef __cplusplus } |