diff options
author | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2021-08-12 11:28:44 +0300 |
---|---|---|
committer | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2021-08-12 11:28:44 +0300 |
commit | e8ec40cc47da28d4b3a97d6d626bd488b1fbb3e7 (patch) | |
tree | f205eb098f919669c27781e0ce549060746ee5d9 /src/libs/zbxaudit/audit_host.h | |
parent | 09c84d6d30be93f3777553998088f5f0ede0bba2 (diff) |
........S. [ZBXNEXT-6810] fixes after merge
Diffstat (limited to 'src/libs/zbxaudit/audit_host.h')
-rw-r--r-- | src/libs/zbxaudit/audit_host.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/libs/zbxaudit/audit_host.h b/src/libs/zbxaudit/audit_host.h index 4b20b110467..9787b99c468 100644 --- a/src/libs/zbxaudit/audit_host.h +++ b/src/libs/zbxaudit/audit_host.h @@ -81,25 +81,25 @@ PREPARE_AUDIT_HOST_INTERFACE_H(resource, contextname, const char*, string) \ PREPARE_AUDIT_HOST_H(host, AUDIT_RESOURCE_HOST) PREPARE_AUDIT_HOST_H(host_prototype, AUDIT_RESOURCE_HOST_PROTOTYPE) -#define PREPARE_AUDIT_HOST_UPDATE(resource, type1, type2) \ +#define PREPARE_AUDIT_HOST_UPDATE_H(resource, type1, type2) \ void zbx_audit_host_update_json_update_##resource(zbx_uint64_t hostid, type1 old_##resource, \ type1 new_##resource); \ -PREPARE_AUDIT_HOST_UPDATE(host, const char*, string) -PREPARE_AUDIT_HOST_UPDATE(name, const char*, string) -PREPARE_AUDIT_HOST_UPDATE(proxy_hostid, zbx_uint64_t, uint64) -PREPARE_AUDIT_HOST_UPDATE(ipmi_authtype, int, int) -PREPARE_AUDIT_HOST_UPDATE(ipmi_privilege, int, int) -PREPARE_AUDIT_HOST_UPDATE(ipmi_username, const char*, string) -PREPARE_AUDIT_HOST_UPDATE(ipmi_password, const char*, string) -PREPARE_AUDIT_HOST_UPDATE(tls_connect, int, int) -PREPARE_AUDIT_HOST_UPDATE(tls_accept, int, int) -PREPARE_AUDIT_HOST_UPDATE(tls_issuer, const char*, string) -PREPARE_AUDIT_HOST_UPDATE(tls_subject, const char*, string) -PREPARE_AUDIT_HOST_UPDATE(tls_psk_identity, const char*, string) -PREPARE_AUDIT_HOST_UPDATE(tls_psk, const char*, string) -PREPARE_AUDIT_HOST_UPDATE(custom_interfaces, int, int) -#undef PREPARE_AUDIT_HOST_UPDATE +PREPARE_AUDIT_HOST_UPDATE_H(host, const char*, string) +PREPARE_AUDIT_HOST_UPDATE_H(name, const char*, string) +PREPARE_AUDIT_HOST_UPDATE_H(proxy_hostid, zbx_uint64_t, uint64) +PREPARE_AUDIT_HOST_UPDATE_H(ipmi_authtype, int, int) +PREPARE_AUDIT_HOST_UPDATE_H(ipmi_privilege, int, int) +PREPARE_AUDIT_HOST_UPDATE_H(ipmi_username, const char*, string) +PREPARE_AUDIT_HOST_UPDATE_H(ipmi_password, const char*, string) +PREPARE_AUDIT_HOST_UPDATE_H(tls_connect, int, int) +PREPARE_AUDIT_HOST_UPDATE_H(tls_accept, int, int) +PREPARE_AUDIT_HOST_UPDATE_H(tls_issuer, const char*, string) +PREPARE_AUDIT_HOST_UPDATE_H(tls_subject, const char*, string) +PREPARE_AUDIT_HOST_UPDATE_H(tls_psk_identity, const char*, string) +PREPARE_AUDIT_HOST_UPDATE_H(tls_psk, const char*, string) +PREPARE_AUDIT_HOST_UPDATE_H(custom_interfaces, int, int) +#undef PREPARE_AUDIT_HOST_UPDATE_H void zbx_audit_hostgroup_update_json_attach(zbx_uint64_t hostid, zbx_uint64_t hostgroupid, zbx_uint64_t groupid); void zbx_audit_host_hostgroup_delete(zbx_uint64_t hostid, const char* hostname, zbx_vector_uint64_t *hostgroupids, |