Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrejs Sitals <andrejs.sitals@zabbix.com>2018-12-20 14:43:25 +0300
committerAndrejs Sitals <andrejs.sitals@zabbix.com>2018-12-20 14:43:25 +0300
commit6317107547879aef0edfee6e847fc6ad7835ec32 (patch)
tree64d3aa48b01566014b65b44cdd1588c61ba80336 /include/sysinfo.h
parent1ca000c88ea3b9f5e2a92f2e26e55f06e60e9e88 (diff)
...G...... [ZBX-15225] improved handling of timeouts in "vfs.dir.size" and "vfs.dir.count" items on Windows agent
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r--include/sysinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index b1592168c14..60d704ce08e 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -285,7 +285,11 @@ int VM_VMEMORY_SIZE(AGENT_REQUEST *request, AGENT_RESULT *result);
int SYSTEM_STAT(AGENT_REQUEST *request, AGENT_RESULT *result);
#endif
+#ifdef _WINDOWS
+typedef int (*zbx_metric_func_t)(AGENT_REQUEST *request, AGENT_RESULT *result, HANDLE timeout_event);
+#else
typedef int (*zbx_metric_func_t)(AGENT_REQUEST *request, AGENT_RESULT *result);
+#endif
typedef struct
{