summaryrefslogtreecommitdiffstats
path: root/rpminfo_arginfo.h
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_arginfo.h
parentba8ff7f35e870a10bb0bd68b3ba0ec9ab43b8576 (diff)
new function: rpmgetsymlink(string $path, string $name): ?string
Diffstat (limited to 'rpminfo_arginfo.h')
-rw-r--r--rpminfo_arginfo.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/rpminfo_arginfo.h b/rpminfo_arginfo.h
index 03fa650..aa0e1d3 100644
--- a/rpminfo_arginfo.h
+++ b/rpminfo_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 8636be19a4c17d1ed16247fb265a923ee7c89104 */
+ * Stub hash: e65e33b4f6ebedcc7ef3030714ebf7e4c06f2778 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpmaddtag, 0, 1, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, rpmtag, IS_LONG, 0)
@@ -29,12 +29,22 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_rpmvercmp, 0, 2, MAY_BE_LONG|MAY
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, operator, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
+#if defined(HAVE_ARCHIVE)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpmgetsymlink, 0, 2, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
+ZEND_END_ARG_INFO()
+#endif
+
ZEND_FUNCTION(rpmaddtag);
ZEND_FUNCTION(rpmdbinfo);
ZEND_FUNCTION(rpmdbsearch);
ZEND_FUNCTION(rpminfo);
ZEND_FUNCTION(rpmvercmp);
+#if defined(HAVE_ARCHIVE)
+ZEND_FUNCTION(rpmgetsymlink);
+#endif
static const zend_function_entry ext_functions[] = {
@@ -43,5 +53,8 @@ static const zend_function_entry ext_functions[] = {
ZEND_FE(rpmdbsearch, arginfo_rpmdbsearch)
ZEND_FE(rpminfo, arginfo_rpminfo)
ZEND_FE(rpmvercmp, arginfo_rpmvercmp)
+#if defined(HAVE_ARCHIVE)
+ ZEND_FE(rpmgetsymlink, arginfo_rpmgetsymlink)
+#endif
ZEND_FE_END
};