summaryrefslogtreecommitdiffstats
path: root/php_rpminfo.h
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-04-06 16:25:35 +0200
committerRemi Collet <remi@remirepo.net>2020-04-06 16:25:35 +0200
commit1e01976460c4e6b10de9a26e486ab2b2871cbff4 (patch)
tree4e8130f1fb41d92b544b7799bb7a7404676ccc42 /php_rpminfo.h
parent3e69ef1a847841608eacdd8683ff549562be55c4 (diff)
add rpmaddtag() function
Diffstat (limited to 'php_rpminfo.h')
-rw-r--r--php_rpminfo.h9
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)