aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-14 04:48:13 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-14 04:48:13 +0000
commit303b45bff2888569ad4333529b52dd96fcd82add (patch)
tree04f1bf72e057a7318b67b612bfa83aa2eec4e011
parent5e053344882beb71bf1dcf7d51a218cada3ce124 (diff)
downloadperl-URPM-303b45bff2888569ad4333529b52dd96fcd82add.tar
perl-URPM-303b45bff2888569ad4333529b52dd96fcd82add.tar.gz
perl-URPM-303b45bff2888569ad4333529b52dd96fcd82add.tar.bz2
perl-URPM-303b45bff2888569ad4333529b52dd96fcd82add.tar.xz
perl-URPM-303b45bff2888569ad4333529b52dd96fcd82add.zip
add Trans_Element_distepoch() & Trans_Element_epoch()
-rw-r--r--URPM.xs21
1 files changed, 21 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 7270c74..ad6aacf 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3194,6 +3194,16 @@ Trans_Element_name(trans, index)
RETVAL
char *
+Trans_Element_epoch(trans, index)
+ URPM::Transaction trans
+ int index
+ CODE:
+ rpmte te = rpmtsElement(trans->ts, index);
+ RETVAL = te ? (char *) rpmteE(te) : NULL;
+ OUTPUT:
+ RETVAL
+
+char *
Trans_Element_version(trans, index)
URPM::Transaction trans
int index
@@ -3214,6 +3224,17 @@ Trans_Element_release(trans, index)
RETVAL
char *
+Trans_Element_distepoch(trans, index)
+ URPM::Transaction trans
+ int index
+ CODE:
+ rpmte te = rpmtsElement(trans->ts, index);
+ RETVAL = te ? (char *) rpmteD(te) : NULL;
+ OUTPUT:
+ RETVAL
+
+
+char *
Trans_Element_fullname(trans, index)
URPM::Transaction trans
int index