summaryrefslogtreecommitdiffstats
path: root/RPM4/src/RPM4.xs
diff options
context:
space:
mode:
Diffstat (limited to 'RPM4/src/RPM4.xs')
-rw-r--r--RPM4/src/RPM4.xs30
1 files changed, 30 insertions, 0 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index c20bb4f..f88ec91 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -2087,6 +2087,36 @@ rpmlibdep()
XPUSHs(sv_2mortal(sv_setref_pv(newSVpv("", 0), bless_rpmds, Dep)));
#endif
+void
+rpmlibsysinfo(sysinfofile = NULL)
+ char * sysinfofile
+ PREINIT:
+#ifdef RPM4_4_3
+ rpmds Dep = NULL;
+#endif
+ PPCODE:
+#ifdef RPM4_4_3
+ if(!rpmdsSysinfo(&Dep, sysinfofile)) {
+ XPUSHs(sv_2mortal(sv_setref_pv(newSVpv("", 0), bless_rpmds, Dep)));
+ }
+#else
+#endif
+
+void
+rpmlibgetconf(path = NULL)
+ char * path
+ PREINIT:
+#ifdef RPM4_4_3
+ rpmds Dep = NULL;
+#endif
+ PPCODE:
+#ifdef RPM4_4_3
+ if(!rpmdsSysinfo(&Dep, path)) {
+ XPUSHs(sv_2mortal(sv_setref_pv(newSVpv("", 0), bless_rpmds, Dep)));
+ }
+#else
+#endif
+
MODULE = RPM4 PACKAGE = RPM4::Header::Dependencies PREFIX = Dep_
void