library/src/blockclass/BP-BlockClass.cc
// Because sometimes (most of the time) we'll want to do spidering in a
// threaded fashion, we can use the methods below to clone spider
// configurations from existing blocks.  The data which is cloned is actually
// allocated as it would be if the Block had allocated them iself.  This
// should allow for a delete to destroy data as per-usual operation.
Because sometimes (most of the time) we'll want to do spidering in a
threaded fashion, we can use the methods below to clone spider
configurations from existing blocks.  The data which is cloned is actually
allocated as it would be if the Block had allocated them iself.  This
should allow for a delete to destroy data as per-usual operation.
Because sometimes ( most of the time ) we ' ll want to do spidering in a threaded fashion we can use the methods below to clone spider configurations from existing blocks . The data which is cloned is actually allocated as it would be if the Block had allocated them iself . This should allow for a delete to destroy data as per - usual operation .
BP_ERROR_T Block::cloneSpideringDataIntoBlock(Block * block_to_clone_from)
{
	if(!block_to_clone_from)
		return ERR_FAILURE;
	return ERR_SUCCESS;
}
BP_ERROR_T Block :: cloneSpideringDataIntoBlock ( Block * block_to_clone_from ) { if ( ! block_to_clone_from ) return ERR_FAILURE ; return ERR_SUCCESS ; }
Because sometimes (most of the time) we'll want to do spidering in a
threaded fashion, we can use the methods below to clone spider
configurations from existing blocks.
Because sometimes ( most of the time ) we ' ll want to do spidering in a threaded fashion we can use the methods below to clone spider configurations from existing blocks .
// ensure we have a block // These Items Must Be Cloned: /*


	// proxy groups that have been populated dynamically
	P_BP_PROXY_DB_GROUP db_populated_proxy_groups;
	size_t              db_populated_proxy_group_n;

	 // This set of proxies is the primary place to find proxy data after requests
	// have been made.
	P_BP_PROXY_DB_ENTRY db_populated_proxy_sets;
	size_t              db_populated_proxy_n;

	P_BP_PROXY_DB_VALIDATION_TEST_GROUP db_populated_proxy_validation_groups;
	size_t								db_populated_proxy_validation_group_n;

	 // Individual validation test sets
	P_BP_PROXY_DB_VALIDATION_TEST_ENTRY db_populated_proxy_validation_tests;
	size_t								db_populated_proxy_validation_test_n;

	 web_balancer
	  // stack of web result data retrieved from db (one pointer, one
	// allocation, only needs to ever be bpfree'd once.  Destroy savely
	// by calling the destroy method below.
	P_BP_WEB_RESULT_ENTRY web_result_stack;

	// number of entries in the web result stack (cleared/updated
	// on pop/destroy)
	size_t web_result_stack_n;

	// current/next index of the web result stored in the web_result_href pointer.
	size_t web_result_stack_current_index;
	size_t web_result_stack_next_index;

	// flag indicating whether or not the stack needs to be reset
	size_t web_result_stack_all_popped;

	// this is filled with a href (url) for the last retrieved/popped record.
	char web_result_href[4096];

	// this is filled with the db index for the last retrieved record
	// and is required for update/insert.
	size_t web_result_id;
	 */ // These Items Must Not Be Cloned: