"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/zabbix_server/preprocessor/preprocessing.h" between
zabbix-5.4.0.tar.gz and zabbix-5.4.1.tar.gz

About: ZABBIX is an enterprise-class distributed monitoring solution for servers and applications.

preprocessing.h  (zabbix-5.4.0):preprocessing.h  (zabbix-5.4.1)
skipping to change at line 31 skipping to change at line 31
#define ZABBIX_PREPROCESSING_H #define ZABBIX_PREPROCESSING_H
#include "common.h" #include "common.h"
#include "module.h" #include "module.h"
#include "dbcache.h" #include "dbcache.h"
#include "preproc.h" #include "preproc.h"
#include "zbxalgo.h" #include "zbxalgo.h"
#define ZBX_IPC_SERVICE_PREPROCESSING "preprocessing" #define ZBX_IPC_SERVICE_PREPROCESSING "preprocessing"
#define ZBX_IPC_PREPROCESSOR_WORKER 1 #define ZBX_IPC_PREPROCESSOR_WORKER 1
#define ZBX_IPC_PREPROCESSOR_REQUEST 2 #define ZBX_IPC_PREPROCESSOR_REQUEST 2
#define ZBX_IPC_PREPROCESSOR_RESULT 3 #define ZBX_IPC_PREPROCESSOR_RESULT 3
#define ZBX_IPC_PREPROCESSOR_QUEUE 4 #define ZBX_IPC_PREPROCESSOR_QUEUE 4
#define ZBX_IPC_PREPROCESSOR_TEST_REQUEST 5 #define ZBX_IPC_PREPROCESSOR_TEST_REQUEST 5
#define ZBX_IPC_PREPROCESSOR_TEST_RESULT 6 #define ZBX_IPC_PREPROCESSOR_TEST_RESULT 6
#define ZBX_IPC_PREPROCESSOR_DIAG_STATS 7 #define ZBX_IPC_PREPROCESSOR_DIAG_STATS 7
#define ZBX_IPC_PREPROCESSOR_DIAG_STATS_RESULT 8 #define ZBX_IPC_PREPROCESSOR_DIAG_STATS_RESULT 8
#define ZBX_IPC_PREPROCESSOR_TOP_ITEMS 9 #define ZBX_IPC_PREPROCESSOR_TOP_ITEMS 9
#define ZBX_IPC_PREPROCESSOR_TOP_ITEMS_RESULT 10 #define ZBX_IPC_PREPROCESSOR_TOP_ITEMS_RESULT 10
#define ZBX_IPC_PREPROCESSOR_TOP_OLDEST_PREPROC_ITEMS 11
typedef struct { typedef struct {
AGENT_RESULT *result; AGENT_RESULT *result;
int refcount; int refcount;
}zbx_result_ptr_t; }zbx_result_ptr_t;
/* item value data used in preprocessing manager */ /* item value data used in preprocessing manager */
typedef struct typedef struct
{ {
zbx_uint64_t itemid; /* item id */ zbx_uint64_t itemid; /* item id */
skipping to change at line 83 skipping to change at line 84
void zbx_preprocessor_unpack_test_request(unsigned char *value_type, char **va lue, zbx_timespec_t *ts, void zbx_preprocessor_unpack_test_request(unsigned char *value_type, char **va lue, zbx_timespec_t *ts,
zbx_vector_ptr_t *history, zbx_preproc_op_t **steps, int *steps_n um, const unsigned char *data); zbx_vector_ptr_t *history, zbx_preproc_op_t **steps, int *steps_n um, const unsigned char *data);
zbx_uint32_t zbx_preprocessor_pack_test_result(unsigned char **data, const zbx _preproc_result_t *results, zbx_uint32_t zbx_preprocessor_pack_test_result(unsigned char **data, const zbx _preproc_result_t *results,
int results_num, const zbx_vector_ptr_t *history, const char *err or); int results_num, const zbx_vector_ptr_t *history, const char *err or);
void zbx_preprocessor_unpack_test_result(zbx_vector_ptr_t *results, zbx_vector _ptr_t *history, void zbx_preprocessor_unpack_test_result(zbx_vector_ptr_t *results, zbx_vector _ptr_t *history,
char **error, const unsigned char *data); char **error, const unsigned char *data);
zbx_uint32_t zbx_preprocessor_pack_diag_stats(unsigned char **data, int values zbx_uint32_t zbx_preprocessor_pack_diag_stats(unsigned char **data, int total,
_num, int values_preproc_num); int queued, int processing, int done,
int pending);
void zbx_preprocessor_unpack_diag_stats(int *values_num, int *values_preproc_n void zbx_preprocessor_unpack_diag_stats(int *total, int *queued, int *processi
um, const unsigned char *data); ng, int *done,
int *pending, const unsigned char *data);
zbx_uint32_t zbx_preprocessor_pack_top_items_request(unsigned char **data, int limit); zbx_uint32_t zbx_preprocessor_pack_top_items_request(unsigned char **data, int limit);
void zbx_preprocessor_unpack_top_request(int *limit, const unsigned char *data ); void zbx_preprocessor_unpack_top_request(int *limit, const unsigned char *data );
zbx_uint32_t zbx_preprocessor_pack_top_items_result(unsigned char **data, zbx_ preproc_item_stats_t **items, zbx_uint32_t zbx_preprocessor_pack_top_items_result(unsigned char **data, zbx_ preproc_item_stats_t **items,
int items_num); int items_num);
void zbx_preprocessor_unpack_top_result(zbx_vector_ptr_t *items, const unsigne d char *data); void zbx_preprocessor_unpack_top_result(zbx_vector_ptr_t *items, const unsigne d char *data);
 End of changes. 3 change blocks. 
14 lines changed or deleted 17 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)