diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-08-06 15:33:53 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-08-06 15:33:53 +0300 |
commit | 5274068afd5dd611d369361b775e805800ec9378 (patch) | |
tree | b90b8c88b8cea853cff3e44c1b6632c9049d1afe /include | |
parent | 739377e26b19e936ef594b03996c858e1afe2954 (diff) |
........S. [ZBXNEXT-6802] added audit for unlinking templates
Diffstat (limited to 'include')
-rw-r--r-- | include/db.h | 3 |
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); |