diff options
author | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2016-09-01 13:24:24 +0300 |
---|---|---|
committer | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2016-09-01 13:24:24 +0300 |
commit | adc6b91960812b440dee5ef7142c6223e629b4f9 (patch) | |
tree | 755fe765ea9205ad854a20c8ada15f7ec966c84b /include/zbxmodules.h | |
parent | ec570a47e42e4a40c6deb284298add87ab0b4e1a (diff) |
....I..... [ZBXNEXT-3353] added some (compile-time) protection so that modules have less chances of overwriting common resources
Diffstat (limited to 'include/zbxmodules.h')
-rw-r--r-- | include/zbxmodules.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/zbxmodules.h b/include/zbxmodules.h index c6552b61fd9..cb808cc60d7 100644 --- a/include/zbxmodules.h +++ b/include/zbxmodules.h @@ -30,35 +30,35 @@ zbx_module_t; typedef struct { zbx_module_t *module; - void (*history_float_cb)(ZBX_HISTORY_FLOAT *, int); + void (*history_float_cb)(const ZBX_HISTORY_FLOAT *, int); } zbx_history_float_cb_t; typedef struct { zbx_module_t *module; - void (*history_integer_cb)(ZBX_HISTORY_INTEGER *, int); + void (*history_integer_cb)(const ZBX_HISTORY_INTEGER *, int); } zbx_history_integer_cb_t; typedef struct { zbx_module_t *module; - void (*history_string_cb)(ZBX_HISTORY_STRING *, int); + void (*history_string_cb)(const ZBX_HISTORY_STRING *, int); } zbx_history_string_cb_t; typedef struct { zbx_module_t *module; - void (*history_text_cb)(ZBX_HISTORY_TEXT *, int); + void (*history_text_cb)(const ZBX_HISTORY_TEXT *, int); } zbx_history_text_cb_t; typedef struct { zbx_module_t *module; - void (*history_log_cb)(ZBX_HISTORY_LOG *, int); + void (*history_log_cb)(const ZBX_HISTORY_LOG *, int); } zbx_history_log_cb_t; |