From cd2950b9306b5fceb1a407416725317daadbaa11 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 26 Nov 2021 10:50:52 +0100 Subject: refresh reflection with 8.0 --- PHPINFO | 2 +- REFLECTION | 26 ++++++++++++++------------ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/PHPINFO b/PHPINFO index 7f31d7a..6dbdd2f 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,4 +3,4 @@ rpminfo rpminfo support => enabled Extension version => 0.6.0 -RPM library version => 4.16.1.3 +RPM library version => 4.17.0 diff --git a/REFLECTION b/REFLECTION index 257373e..492085f 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,7 +1,7 @@ -Extension [ extension #98 rpminfo version 0.6.0 ] { +Extension [ extension #97 rpminfo version 0.6.0 ] { - - Constants [272] { - Constant [ string RPMVERSION ] { 4.16.1.3 } + - Constants [274] { + Constant [ string RPMVERSION ] { 4.17.0 } Constant [ int RPMSENSE_ANY ] { 0 } Constant [ int RPMSENSE_LESS ] { 2 } Constant [ int RPMSENSE_GREATER ] { 4 } @@ -271,6 +271,8 @@ Extension [ extension #98 rpminfo version 0.6.0 ] { Constant [ int RPMTAG_VERIFYSCRIPT ] { 1079 } Constant [ int RPMTAG_VERIFYSCRIPTFLAGS ] { 5026 } Constant [ int RPMTAG_VERIFYSCRIPTPROG ] { 1091 } + Constant [ int RPMTAG_VERITYSIGNATUREALGO ] { 277 } + Constant [ int RPMTAG_VERITYSIGNATURES ] { 276 } Constant [ int RPMTAG_VERSION ] { 1001 } Constant [ int RPMTAG_XPM ] { 1013 } } @@ -287,28 +289,28 @@ Extension [ extension #98 rpminfo version 0.6.0 ] { - Parameters [2] { Parameter #0 [ string $nevr ] - Parameter #1 [ bool $full ] + Parameter #1 [ bool $full = false ] } - - Return [ array or NULL ] + - Return [ ?array ] } Function [ function rpmdbsearch ] { - Parameters [4] { Parameter #0 [ string $pattern ] - Parameter #1 [ int $rpmtag ] - Parameter #2 [ int $rpmmire ] - Parameter #3 [ bool $full ] + Parameter #1 [ int $rpmtag = RPMTAG_NAME ] + Parameter #2 [ int $rpmmire = -1 ] + Parameter #3 [ bool $full = false ] } - - Return [ array or NULL ] + - Return [ ?array ] } Function [ function rpminfo ] { - Parameters [3] { Parameter #0 [ string $path ] - Parameter #1 [ bool $full ] - Parameter #2 [ string or NULL &$error ] + Parameter #1 [ bool $full = false ] + Parameter #2 [ ?string &$error = null ] } - - Return [ array or NULL ] + - Return [ ?array ] } Function [ function rpmvercmp ] { -- cgit