zabbix-agent2/src/libs/zbxdbcache/dbconfig.c
/******************************************************************************
 *                                                                            *
 * Function: DCget_host_inventory_value_by_hostid                             *
 *                                                                            *
 * Purpose: find inventory value in automatically populated cache, if not     *
 *          found then look in main inventory cache                           *
 *                                                                            *
 ******************************************************************************/
DCget_host_inventory_value_by_hostid

Purpose: find inventory value in automatically populated cache, if not
found then look in main inventory cache
DCget_host_inventory_value_by_hostid Purpose : find inventory value in automatically populated cache if not found then look in main inventory cache
int	DCget_host_inventory_value_by_hostid(zbx_uint64_t hostid, char **replace_to, int value_idx)
{
	int	ret;
	RDLOCK_CACHE;
	ret = dc_get_host_inventory_value_by_hostid(hostid, replace_to, value_idx);
	UNLOCK_CACHE;
	return ret;
}
int DCget_host_inventory_value_by_hostid ( zbx_uint64_t hostid , char * * replace_to , int value_idx ) { int ret ; RDLOCK_CACHE ; ret = dc_get_host_inventory_value_by_hostid ( hostid , replace_to , value_idx ) ; UNLOCK_CACHE ; return ret ; }
Function: DCget_host_inventory_value_by_hostid                             
                                                                            
 Purpose: find inventory value in automatically populated cache, if not     
          found then look in main inventory cache
Function : DCget_host_inventory_value_by_hostid Purpose : find inventory value in automatically populated cache if not found then look in main inventory cache