summaryrefslogtreecommitdiff
path: root/build/rpmbuild.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-13 19:32:37 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-13 19:32:37 +0200
commit7e56c6355bea552d89e8d5d0a317763a8cee4a4f (patch)
treec18ddebb9e8e6da144d00909c61fdcecdf718057 /build/rpmbuild.h
parentcbd7a684a4cd88bfa3383658790be3c37230707a (diff)
downloadlibrpm-tizen-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.tar.gz
librpm-tizen-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.tar.bz2
librpm-tizen-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/rpmbuild.h')
-rw-r--r--build/rpmbuild.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/rpmbuild.h b/build/rpmbuild.h
index 2754a3769..3913f67c3 100644
--- a/build/rpmbuild.h
+++ b/build/rpmbuild.h
@@ -244,7 +244,7 @@ int parsePrep(rpmSpec spec);
* @param tagflags dependency flags already known from context
* @return RPMRC_OK on success, RPMRC_FAIL on failure
*/
-rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char * field, rpmTag tagN,
+rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char * field, rpm_tag_t tagN,
int index, rpmsenseFlags tagflags);
/** \ingroup rpmbuild
@@ -327,7 +327,7 @@ Package freePackage(Package pkg);
* @param index (0 always)
* @return 0 always
*/
-int addReqProv(rpmSpec spec, Header h, rpmTag tagN,
+int addReqProv(rpmSpec spec, Header h, rpm_tag_t tagN,
const char * N, const char * EVR, rpmsenseFlags Flags,
int index);