Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrejs Kozlovs <andrejs.kozlovs@zabbix.com>2021-08-16 16:45:31 +0300
committerAndrejs Kozlovs <andrejs.kozlovs@zabbix.com>2021-08-16 16:45:31 +0300
commit8062e5ab0b7a8fde2a6fba289029dd5510bb0bf1 (patch)
tree2194e4baca4d81002c7bf5d26a87deb4c999be0b /include/db.h
parent01bccf90f2882280eaff1cfe75400208af4d4be3 (diff)
parent6b144379fcbaed9351cbb14fe8da30301440c96c (diff)
........S. [ZBXNEXT-6810] Update from branch 'feature/ZBXNEXT-6802-5.5' of https://git.zabbix.com/scm/zbx/zabbix into feature/ZBXNEXT-6810-5.5-test
Diffstat (limited to 'include/db.h')
-rw-r--r--include/db.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/db.h b/include/db.h
index b2ca8a56484..4f963b0e478 100644
--- a/include/db.h
+++ b/include/db.h
@@ -884,8 +884,11 @@ int zbx_db_check_instanceid(void);
typedef struct
{
zbx_uint64_t tagid;
+ char *tag_orig;
char *tag;
+ char *value_orig;
char *value;
+#define ZBX_FLAG_DB_TAG_UNSET __UINT64_C(0x00000000)
#define ZBX_FLAG_DB_TAG_UPDATE_TAG __UINT64_C(0x00000001)
#define ZBX_FLAG_DB_TAG_UPDATE_VALUE __UINT64_C(0x00000002)
#define ZBX_FLAG_DB_TAG_REMOVE __UINT64_C(0x80000000)
@@ -894,8 +897,9 @@ typedef struct
}
zbx_db_tag_t;
-void zbx_db_tag_free(zbx_db_tag_t *tag);
-int zbx_db_tag_compare_func(const void *d1, const void *d2);
+zbx_db_tag_t *zbx_db_tag_create(const char *tag, const char *value);
+void zbx_db_tag_free(zbx_db_tag_t *tag);
+int zbx_db_tag_compare_func(const void *d1, const void *d2);
ZBX_PTR_VECTOR_DECL(db_tag_ptr, zbx_db_tag_t *)