void pg_cache_get_updates(zbx_pg_cache_t *cache, const zbx_dc_um_handle_t *um_handle, zbx_vector_pg_update_t *groups,
#ifndef ZABBIX_PG_CACHE_H
#define ZABBIX_PG_CACHE_H
#include "zbxcacheconfig.h"
#define ZBX_PG_PROXY_STATE_UNKNOWN 0
#define ZBX_PG_PROXY_STATE_OFFLINE 1
#define ZBX_PG_PROXY_STATE_ONLINE 2
#define ZBX_PG_GROUP_STATE_UNKNOWN 0
#define ZBX_PG_GROUP_STATE_OFFLINE 1
#define ZBX_PG_GROUP_STATE_RECOVERING 2
#define ZBX_PG_GROUP_STATE_ONLINE 3
#define ZBX_PG_GROUP_STATE_DEGRADING 4
#define ZBX_PG_GROUP_STATE_DISABLED 5
#define PG_STATE_CHECK_INTERVAL 5
zbx_vector_pg_group_ptr_t group_updates;
zbx_uint64_t group_revision;
zbx_uint64_t proxy_revision;
zbx_hashset_t hostmap_updates;
zbx_uint64_t hostmap_revision;
ZBX_VECTOR_DECL(pg_update, zbx_pg_update_t)