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:
authorArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2021-08-06 15:33:53 +0300
committerArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2021-08-06 15:33:53 +0300
commit5274068afd5dd611d369361b775e805800ec9378 (patch)
treeb90b8c88b8cea853cff3e44c1b6632c9049d1afe /include/db.h
parent739377e26b19e936ef594b03996c858e1afe2954 (diff)
........S. [ZBXNEXT-6802] added audit for unlinking templates
Diffstat (limited to 'include/db.h')
-rw-r--r--include/db.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/db.h b/include/db.h
index 4317fe06632..9070dcd82e2 100644
--- a/include/db.h
+++ b/include/db.h
@@ -625,7 +625,8 @@ void DBdelete_sysmaps_hosts_by_hostid(zbx_uint64_t hostid);
int DBadd_graph_item_to_linked_hosts(int gitemid, int hostid);
int DBcopy_template_elements(zbx_uint64_t hostid, zbx_vector_uint64_t *lnk_templateids, char **error);
-int DBdelete_template_elements(zbx_uint64_t hostid, zbx_vector_uint64_t *del_templateids, char **error);
+int DBdelete_template_elements(zbx_uint64_t hostid, const char *hostname, zbx_vector_uint64_t *del_templateids,
+ char **error);
void DBdelete_items(zbx_vector_uint64_t *itemids);
void DBdelete_graphs(zbx_vector_uint64_t *graphids);