summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION28
-rw-r--r--package.xml4
-rw-r--r--php_rpminfo.h2
3 files changed, 19 insertions, 15 deletions
diff --git a/REFLECTION b/REFLECTION
index 740ab51..9f3b4c6 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #15 rpminfo version 0.4.0 ] {
+Extension [ <persistent> extension #94 rpminfo version 0.4.1 ] {
- Constants [271] {
Constant [ string RPMVERSION ] { 4.15.1 }
@@ -278,33 +278,37 @@ Extension [ <persistent> extension #15 rpminfo version 0.4.0 ] {
Function [ <internal:rpminfo> function rpmdbinfo ] {
- Parameters [2] {
- Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $full ]
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <optional> bool $full ]
}
+ - Return [ array or NULL ]
}
Function [ <internal:rpminfo> function rpmdbsearch ] {
- Parameters [4] {
- Parameter #0 [ <required> $pattern ]
- Parameter #1 [ <optional> $rpmtag ]
- Parameter #2 [ <optional> $rpmmire ]
- Parameter #3 [ <optional> $full ]
+ 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 $name ]
+ 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 ]
}
}
}
diff --git a/package.xml b/package.xml
index 4dc976e..ec92626 100644
--- a/package.xml
+++ b/package.xml
@@ -16,9 +16,9 @@ Available functions:
<email>remi@php.net</email>
<active>yes</active>
</lead>
- <date>2020-03-13</date>
+ <date>2020-03-18</date>
<version>
- <release>0.4.1dev</release>
+ <release>0.4.1</release>
<api>0.4.0</api>
</version>
<stability>
diff --git a/php_rpminfo.h b/php_rpminfo.h
index 0a12519..8431e5d 100644
--- a/php_rpminfo.h
+++ b/php_rpminfo.h
@@ -22,7 +22,7 @@
extern zend_module_entry rpminfo_module_entry;
#define phpext_rpminfo_ptr &rpminfo_module_entry
-#define PHP_RPMINFO_VERSION "0.4.1-dev"
+#define PHP_RPMINFO_VERSION "0.4.1"
#ifdef PHP_WIN32
# define PHP_RPMINFO_API __declspec(dllexport)