summaryrefslogtreecommitdiffstats
path: root/RPM4/src
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-06-12 17:37:30 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-06-12 17:37:30 +0000
commit888af9230658295ac3c5f0dd222b1b5a22f576e5 (patch)
tree9c50dd72b2b857354b428af31e98fb971b396972 /RPM4/src
parentd8c3dce84743613a5c6634a1d8637984d5bb9f78 (diff)
downloadperl-RPM4-888af9230658295ac3c5f0dd222b1b5a22f576e5.tar
perl-RPM4-888af9230658295ac3c5f0dd222b1b5a22f576e5.tar.gz
perl-RPM4-888af9230658295ac3c5f0dd222b1b5a22f576e5.tar.bz2
perl-RPM4-888af9230658295ac3c5f0dd222b1b5a22f576e5.tar.xz
perl-RPM4-888af9230658295ac3c5f0dd222b1b5a22f576e5.zip
adapt to rpm 4.org changes: tagValue -> rpmTagGetValue
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@192 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'RPM4/src')
-rw-r--r--RPM4/src/RPM4.xs12
1 files changed, 6 insertions, 6 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index 768468d..267169e 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -638,7 +638,7 @@ int
tagValue(tagname)
char * tagname
CODE:
- RETVAL = tagValue((const char *) tagname);
+ RETVAL = rpmTagGetValue((const char *) tagname);
OUTPUT:
RETVAL
@@ -1012,7 +1012,7 @@ Header_removetag(h, sv_tag)
if (SvIOK(sv_tag)) {
tag = SvIV(sv_tag);
} else if (SvPOK(sv_tag)) {
- tag = tagValue(SvPV_nolen(sv_tag));
+ tag = rpmTagGetValue(SvPV_nolen(sv_tag));
}
if (tag > 0)
RETVAL = headerDel(h, tag);
@@ -1037,7 +1037,7 @@ Header_addtag(h, sv_tag, sv_tagtype, ...)
if (SvIOK(sv_tag)) {
tag = SvIV(sv_tag);
} else if (SvPOK(sv_tag)) {
- tag = tagValue(SvPV_nolen(sv_tag));
+ tag = rpmTagGetValue(SvPV_nolen(sv_tag));
}
tagtype = sv2tagtype(sv_tagtype);
if (tag > 0)
@@ -1100,7 +1100,7 @@ Header_hastag(h, sv_tag)
if (SvIOK(sv_tag)) {
tag = SvIV(sv_tag);
} else if (SvPOK(sv_tag)) {
- tag = tagValue(SvPV_nolen(sv_tag));
+ tag = rpmTagGetValue(SvPV_nolen(sv_tag));
}
if (tag > 0)
RETVAL = headerIsEntry(h, tag);
@@ -1120,7 +1120,7 @@ Header_tag(h, sv_tag)
if (SvIOK(sv_tag)) {
tag = SvIV(sv_tag);
} else if (SvPOK(sv_tag)) {
- tag = tagValue(SvPV_nolen(sv_tag));
+ tag = rpmTagGetValue(SvPV_nolen(sv_tag));
}
if (tag > 0) {
struct rpmtd_s val;
@@ -1184,7 +1184,7 @@ Header_tagtype(h, sv_tag)
if (SvIOK(sv_tag)) {
tag = SvIV(sv_tag);
} else if (SvPOK(sv_tag)) {
- tag = tagValue(SvPV_nolen(sv_tag));
+ tag = rpmTagGetValue(SvPV_nolen(sv_tag));
}
RETVAL = RPM_NULL_TYPE;
if (tag > 0)