int zbx_vmware_service_get_counterid(const zbx_vmware_service_t *service, const char *path, zbx_uint64_t *counterid,
#define ZBX_VMWARE_STATE_NEW 0x001
#define ZBX_VMWARE_STATE_READY 0x002
#define ZBX_VMWARE_STATE_FAILED 0x004
#define ZBX_VMWARE_EVENT_KEY_UNINITIALIZED __UINT64_C(0xffffffffffffffff)
ZBX_PTR_VECTOR_DECL(str_uint64_pair, zbx_str_uint64_pair_t)
int zbx_str_uint64_pair_name_compare(const void *p1, const void *p2);
#define ZBX_UC(v) ((unsigned char)v)
zbx_vector_str_uint64_pair_t values;
#define ZBX_VMWARE_COUNTER_NEW ZBX_UC(0x00)
#define ZBX_VMWARE_COUNTER_READY ZBX_UC(0x01)
#define ZBX_VMWARE_COUNTER_UPDATING ZBX_UC(0x02)
#define ZBX_VMWARE_COUNTER_CUSTOM ZBX_UC(0x10)
#define ZBX_VMWARE_COUNTER_ACCEPTABLE ZBX_UC(0x20)
#define ZBX_VMWARE_COUNTER_NOTSUPPORTED ZBX_UC(0x40)
#define ZBX_VMWARE_COUNTER_STATE_MASK 0xF0