diff options
author | Miks Kronkalns <miks.kronkalns@zabbix.com> | 2019-06-17 08:37:48 +0300 |
---|---|---|
committer | Miks Kronkalns <miks.kronkalns@zabbix.com> | 2019-06-17 08:39:09 +0300 |
commit | eec13cafe379634b3213a9bc9982223d9ffa6bc1 (patch) | |
tree | c4fc62c5de220745f5abcccbc04d6ac57ab6f967 /include/preproc.h | |
parent | 0375b09191c98206eb90297633ba4b172b909292 (diff) |
..F.....S. [ZBXNEXT-5124,ZBX-15827] extended preprocessing steps with final result row; improved input validation in preprocessing steps
* commit 'b0aa9ec70687c15167a5d3c1fd7416a12237017f': (27 commits)
.......... [ZBX-15827,ZBXNEXT-5124] fixed changelog
.......... [ZBX-15827,ZBXNEXT-5124] fixed changelog
.......... [ZBX-15827,ZBXNEXT-5124] fixed changelog
..F....... [ZBXNEXT-5124,ZBX-15827] removed unexplainable click on action link elements once preprocessing results are received
..F....... [ZBXNEXT-5124,ZBX-15827] fixed error displaying in preprocessing steps test dialog when test is performed with invalid previous value
..F....... [ZBX-15827] made 'test all steps' button visible starting from 1 preprocessing step
..F....... [ZBX-15827,ZBXNEXT-5124] fixed coding style
..F....... [ZBX-15827,ZBXNEXT-5124] implemented final result handling in frontend preprocessing test dialog
.......PS. [ZBX-15827] fixed crash in case of timeout
...G...PS. [ZBX-15827] fixed "null pointer passed as argument" error
...G...PS. [ZBX-15827] fixed "shadows a previous local" warning
...G...PS. [ZBX-15827] fixed may be used uninitialized warning
...G...PS. [ZBX-15827] fixed indentation
...G...PS. [ZBX-15827] reduced number of variables
...G...PS. [ZBX-15827] removed redundant variable initialization
...G...PS. [ZBX-15827] fixed key parsing not to allow null and boolean
.......... [ZBX-15827] fixed memory leaks in cmocka tests
........S. [ZBX-15827] fixed memory leak when parsing incomplete test requests
.......PS. [ZBX-15827] refactored json parsing api to return json object type instead of is_null flag
........S. [ZBX-15827] added tests for preprocessing testing
...
(cherry picked from commit bff82423f01f1b965b2a564819851f8f151d13f9)
Diffstat (limited to 'include/preproc.h')
-rw-r--r-- | include/preproc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/preproc.h b/include/preproc.h index e43536a5f24..450822ae4bc 100644 --- a/include/preproc.h +++ b/include/preproc.h @@ -43,7 +43,8 @@ zbx_uint64_t zbx_preprocessor_get_queue_size(void); void zbx_preproc_op_free(zbx_preproc_op_t *op); void zbx_preproc_result_free(zbx_preproc_result_t *result); -int zbx_preprocessor_test(unsigned char value_type, const char *value, const char *last_value, const char *last_ts, - const zbx_vector_ptr_t *steps, zbx_vector_ptr_t *results, char **preproc_error, char **error); +int zbx_preprocessor_test(unsigned char value_type, const char *value, const zbx_timespec_t *ts, + const zbx_vector_ptr_t *steps, zbx_vector_ptr_t *results, zbx_vector_ptr_t *history, + char **preproc_error, char **error); #endif /* ZABBIX_PREPROC_H */ |