Source
xxxxxxxxxx
22
22
23
23
#include "zbxpreprocbase.h"
24
24
#include "zbxalgo.h"
25
25
#include "zbxvariant.h"
26
26
#include "zbxtime.h"
27
27
#include "zbxtimekeeper.h"
28
28
#include "zbxipcservice.h"
29
29
#include "zbxthreads.h"
30
30
#include "zbxjson.h"
31
31
#include "zbxstats.h"
32
+
#include "zbxcachehistory.h"
32
33
33
34
#define ZBX_PREPROCESSING_BATCH_SIZE 256
34
35
35
36
typedef void (*zbx_pp_notify_cb_t)(void *data);
36
37
37
38
/* preprocessing step execution result */
38
39
typedef struct
39
40
{
40
41
zbx_variant_t value;
41
42
zbx_variant_t value_raw;