diff options
author | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2020-09-07 15:08:39 +0300 |
---|---|---|
committer | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2020-09-07 15:08:39 +0300 |
commit | 274ceaec0e791bfd96b025b2b82afaa9b97999e8 (patch) | |
tree | f49c1326b7633113f7f86a67a7a662e9dd7f8298 /include/sysinfo.h | |
parent | 4305d66bd66bcba49d0c1dcc23ea5e6b063c2bfe (diff) |
...G...... [ZBXNEXT-6171] c agent changes
- doing chdir to UserParameterPath before executing user parameter commands
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r-- | include/sysinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h index 8f49ffb79b1..4f643ee892a 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -213,6 +213,7 @@ void free_key_access_rules(void); int process(const char *in_command, unsigned flags, AGENT_RESULT *result); +void set_user_parameter_path(const char *path); int add_user_parameter(const char *itemkey, char *command, char *error, size_t max_error_len); int add_user_module(const char *key, int (*function)(void)); void test_parameters(void); |