From 7adc0cf86d301028e268f1803ee117bdd74586d5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 25 Jan 2018 13:30:20 +0100 Subject: New function: array rpminfo(string path [, bool full ]); --- php_rpminfo.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'php_rpminfo.h') diff --git a/php_rpminfo.h b/php_rpminfo.h index 9c8319c..d90e9e1 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.1.0" /* Replace with version number for your extension */ +#define PHP_RPMINFO_VERSION "0.1.0-dev" /* Replace with version number for your extension */ #ifdef PHP_WIN32 # define PHP_RPMINFO_API __declspec(dllexport) @@ -36,15 +36,9 @@ extern zend_module_entry rpminfo_module_entry; #include "TSRM.h" #endif -/* - Declare any global variables you may need between the BEGIN - and END macros here: - ZEND_BEGIN_MODULE_GLOBALS(rpminfo) - zend_long global_value; - char *global_string; + rpmts ts; ZEND_END_MODULE_GLOBALS(rpminfo) -*/ /* Always refer to the globals in your function as RPMINFO_G(variable). You are encouraged to rename these macros something shorter, see -- cgit