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:
authorAlexander Vladishev <aleksander.vladishev@zabbix.com>2013-02-27 17:29:51 +0400
committerAlexander Vladishev <aleksander.vladishev@zabbix.com>2013-02-27 17:29:51 +0400
commit109adddb0910b013be55eb2399aa50315ecf5317 (patch)
treeae8572aaabc8a7d6dc3e11519bffe1813c3b157f /include/sysinfo.h
parentd0417f3e312f4f269af041dea9cd5d9e4122e30c (diff)
...G...PS. [ZBXNEXT-1550] improved error logging
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r--include/sysinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index 01f662e32ee..960ea6172d1 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -153,12 +153,12 @@ int get_diskstat(const char *devname, zbx_uint64_t *dstat);
#define PROCESS_MODULE_COMMAND 8
void init_metrics();
-void add_metric(ZBX_METRIC *new);
+int add_metric(ZBX_METRIC *new, char *error, size_t max_error_len);
void free_metrics();
int process(const char *in_command, unsigned flags, AGENT_RESULT *result);
-int add_user_parameter(const char *key, char *command);
+int add_user_parameter(const char *key, char *command, char *error, size_t max_error_len);
int add_user_module(const char *key, int (*function)());
void test_parameters();
void test_parameter(const char *key, unsigned flags);