Source
85
85
86
86
/* item diagnostic statistics */
87
87
typedef struct
88
88
{
89
89
zbx_uint64_t itemid;
90
90
int values_num;
91
91
int hourly_num;
92
92
}
93
93
zbx_vc_item_stats_t;
94
94
95
-
int zbx_vc_init(char **error);
95
+
int zbx_vc_init(zbx_uint64_t value_cache_size, char **error);
96
96
97
97
void zbx_vc_destroy(void);
98
98
99
99
void zbx_vc_reset(void);
100
100
101
101
void zbx_vc_enable(void);
102
102
103
103
void zbx_vc_disable(void);
104
104
105
105
int zbx_vc_get_values(zbx_uint64_t itemid, unsigned char value_type, zbx_vector_history_record_t *values,