summaryrefslogtreecommitdiffstats
path: root/rpminfo.stub.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-11-10 08:35:39 +0100
committerRemi Collet <remi@php.net>2023-11-10 08:35:39 +0100
commit0a9b035bee3515e9e395e0df9b624503781068e6 (patch)
tree83a2549f3a27b7418802fdcbda3b7feda3dd7d90 /rpminfo.stub.php
parentba8ff7f35e870a10bb0bd68b3ba0ec9ab43b8576 (diff)
new function: rpmgetsymlink(string $path, string $name): ?string
Diffstat (limited to 'rpminfo.stub.php')
-rw-r--r--rpminfo.stub.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpminfo.stub.php b/rpminfo.stub.php
index 022ccd4..7e6e32e 100644
--- a/rpminfo.stub.php
+++ b/rpminfo.stub.php
@@ -12,4 +12,6 @@ function rpminfo(string $path, bool $full = false, ?string &$error = null): Arra
function rpmvercmp(string $evr1, string $evr2, ?string $operator = null): int|bool {}
-
+#ifdef HAVE_ARCHIVE
+function rpmgetsymlink(string $path, string $name): string|null {}
+#endif