diff options
author | Dmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com> | 2021-10-22 09:57:01 +0300 |
---|---|---|
committer | Dmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com> | 2021-10-22 09:59:04 +0300 |
commit | 5149b7089c43e0f175e8304244b0be1899939600 (patch) | |
tree | 5e3a685e08c274c151b991d0ea3f2c2c7a24af81 /include/sysinfo.h | |
parent | fd1cada6756b3561e66b9db3d6be59922c694e31 (diff) |
...G...... [ZBXNEXT-6782] added new parameters for system.hostname
* commit '649bc4917e1cefe41f699c6b272bc0ff01351c25':
.......... [ZBXNEXT-6782] fixed style
...G...... [ZBXNEXT-6782] fixed win agent params
...G...... [ZBXNEXT-6782] removed duplicated code in win agent2
...G...... [ZBXNEXT-6782] win agent: made netbios default, fixed leak
..F....... [ZBXNEXT-6782] updated item help
...G...... [ZBXNEXT-6782] style fixes and restored comment
...G...... [ZBXNEXT-6782] added error handling
...G...... [ZBXNEXT-6782] fixed macro in sysinfo
...G...... [ZBXNEXT-6782] refactoring
...G...... [ZBXNEXT-6782] refactoring
...G...... [ZBXNEXT-6782] refactoring
...G...... [ZBXNEXT-6782] refactored
...G...... [ZBXNEXT-6782] refactored
...G...... [ZBXNEXT-6782] refactored
...G...... [ZBXNEXT-6782] fixed cpp check warning
...G...... [ZBXNEXT-6782] removed redundant defines
...G...... [ZBXNEXT-6782] fixed netbios retrieval on windows
...G...... [ZBXNEXT-6782] fixed subissues
...G...... [ZBXNEXT-6782] added new parameters for system.hostname
(cherry picked from commit ac96c6d96d3e0bdcef0f026b2d81c2bc1ec434ae)
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r-- | include/sysinfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h index 00e100bcf3c..cadee600def 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -372,4 +372,9 @@ void zbx_mpoints_free(zbx_mpoint_t *mpoint); zbx_uint32_t get_thread_global_mutex_flag(void); #endif +#ifndef _WINDOWS +int hostname_handle_params(AGENT_REQUEST *request, AGENT_RESULT *result, char *hostname); #endif + +#endif + |