diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-08-05 14:48:50 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-08-05 14:48:50 +0300 |
commit | 739377e26b19e936ef594b03996c858e1afe2954 (patch) | |
tree | c1ea48df0ad4b68daa9900432675c6d34bae8cc2 /src/libs/zbxaudit/audit.c | |
parent | 854e68cc6a81bedf79d10ec8deb5592dd1b9f35f (diff) |
........S. [ZBXNEXT-6802] fixed more formatting
Diffstat (limited to 'src/libs/zbxaudit/audit.c')
-rw-r--r-- | src/libs/zbxaudit/audit.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libs/zbxaudit/audit.c b/src/libs/zbxaudit/audit.c index ef0ddb9e573..f51e05f92a1 100644 --- a/src/libs/zbxaudit/audit.c +++ b/src/libs/zbxaudit/audit.c @@ -26,6 +26,16 @@ static int audit_mode; static zbx_hashset_t zbx_audit; +int zbx_get_audit_mode(void) +{ + return audit_mode; +} + +zbx_hashset_t *zbx_get_audit_hashset(void) +{ + return &zbx_audit; +} + static void append_str_json(struct zbx_json *json, const char *audit_op, const char *key, const char *val) { zbx_json_addarray(json, key); @@ -77,16 +87,6 @@ static void update_int_json(struct zbx_json *json, const char *key, int val_old, zbx_json_close(json); } -int zbx_get_audit_mode(void) -{ - return audit_mode; -} - -zbx_hashset_t* zbx_get_audit_hashset(void) -{ - return &zbx_audit; -} - /****************************************************************************** * * * Function: zbx_auditlog_global_script * |