diff options
author | Remi Collet <remi@remirepo.net> | 2020-04-06 16:25:35 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-04-06 16:25:35 +0200 |
commit | 1e01976460c4e6b10de9a26e486ab2b2871cbff4 (patch) | |
tree | 4e8130f1fb41d92b544b7799bb7a7404676ccc42 /php_rpminfo.h | |
parent | 3e69ef1a847841608eacdd8683ff549562be55c4 (diff) |
add rpmaddtag() function
Diffstat (limited to 'php_rpminfo.h')
-rw-r--r-- | php_rpminfo.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/php_rpminfo.h b/php_rpminfo.h index 85adeef..87db8e9 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.3-dev" +#define PHP_RPMINFO_VERSION "0.5.0-dev" #ifdef PHP_WIN32 # define PHP_RPMINFO_API __declspec(dllexport) @@ -37,8 +37,11 @@ extern zend_module_entry rpminfo_module_entry; #endif ZEND_BEGIN_MODULE_GLOBALS(rpminfo) - rpmts ts; - rpmdb db; + rpmts ts; /* transaction set */ + rpmdb db; /* database */ + int nb_tags; /* stored tags */ + int max_tags; /* allocated tags */ + rpmTagVal *tags; /* tags storage */ ZEND_END_MODULE_GLOBALS(rpminfo) #define RPMINFO_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(rpminfo, v) |