summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-25 09:27:59 +0100
committerRemi Collet <remi@remirepo.net>2020-03-25 09:27:59 +0100
commit985ead86de7237960570d4ad9fe56a0e5158cc75 (patch)
treeedd1b278ed62b8fd9883644cc30ad06f592bdf95 /REFLECTION
parent62db2cdbce479d5cb0b46295e512eb5accf4874a (diff)
v0.4.2
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION29
1 files changed, 17 insertions, 12 deletions
diff --git a/REFLECTION b/REFLECTION
index daba10b..206f5b8 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #94 rpminfo version 0.3.0 ] {
+Extension [ <persistent> extension #94 rpminfo version 0.4.2 ] {
- Constants [271] {
Constant [ string RPMVERSION ] { 4.15.1 }
@@ -278,32 +278,37 @@ Extension [ <persistent> extension #94 rpminfo version 0.3.0 ] {
Function [ <internal:rpminfo> function rpmdbinfo ] {
- Parameters [2] {
- Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $full ]
+ Parameter #0 [ <required> string $nevr ]
+ Parameter #1 [ <optional> bool $full ]
}
+ - Return [ array or NULL ]
}
Function [ <internal:rpminfo> function rpmdbsearch ] {
- - Parameters [3] {
- Parameter #0 [ <required> $pattern ]
- Parameter #1 [ <optional> $rpmtag ]
- Parameter #2 [ <optional> $rpmmire ]
+ - Parameters [4] {
+ Parameter #0 [ <required> string $pattern ]
+ Parameter #1 [ <optional> int $rpmtag ]
+ Parameter #2 [ <optional> int $rpmmire ]
+ Parameter #3 [ <optional> bool $full ]
}
+ - Return [ array or NULL ]
}
Function [ <internal:rpminfo> function rpminfo ] {
- Parameters [3] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <optional> $full ]
- Parameter #2 [ <optional> &$error ]
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <optional> bool $full ]
+ Parameter #2 [ <optional> string or NULL &$error ]
}
+ - Return [ array or NULL ]
}
Function [ <internal:rpminfo> function rpmvercmp ] {
- Parameters [2] {
- Parameter #0 [ <required> $evr1 ]
- Parameter #1 [ <required> $evr2 ]
+ Parameter #0 [ <required> string $evr1 ]
+ Parameter #1 [ <required> string $evr2 ]
}
+ - Return [ int ]
}
}
}