aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs12
1 files changed, 12 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 48181a8..7da9eac 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1518,6 +1518,18 @@ Pkg_buildtime(pkg)
OUTPUT:
RETVAL
+int
+Pkg_installtid(pkg)
+ URPM::Package pkg
+ CODE:
+ if (pkg->h) {
+ RETVAL = get_int(pkg->h, RPMTAG_INSTALLTID);
+ } else {
+ RETVAL = 0;
+ }
+ OUTPUT:
+ RETVAL
+
void
Pkg_url(pkg)
URPM::Package pkg