library/src/blockclass/BP-BlockClass.cc
// Test balancer with href.  If the request would be unbalanced based
// on the whitelist configuration + requests already made, this will return
// ERR_FAILURE, whereas if it is within balancing constraints it will return
// ERR_SUCCESS.
Test balancer with href.  If the request would be unbalanced based
on the whitelist configuration + requests already made, this will return
ERR_FAILURE, whereas if it is within balancing constraints it will return
ERR_SUCCESS.
Test balancer with href . If the request would be unbalanced based on the whitelist configuration + requests already made this will return ERR_FAILURE whereas if it is within balancing constraints it will return ERR_SUCCESS .
BP_ERROR_T Block::checkWebHrefForBalance(char *href)
{
	if(!this->web_balancer)
		return ERR_SUCCESS;
	if(!href)
		return ERR_FAILURE;
	return BP_DBWebRequestBalancerProcessTarget(this->web_balancer, href);
}
BP_ERROR_T Block :: checkWebHrefForBalance ( char * href ) { if ( ! this -> web_balancer ) return ERR_SUCCESS ; if ( ! href ) return ERR_FAILURE ; return BP_DBWebRequestBalancerProcessTarget ( this -> web_balancer , href ) ; }
Test balancer with href.
Test balancer with href .
// default is success // check for href // return the result of a process attempt