library/src/network/BP-Network.cc
// typecast for the data list generic send function
typecast for the data list generic send function
typecast for the data list generic send function
void BP_DataListNetRead(void *data_list_entry, void *net_read_parameters)
{
	if(!data_list_entry)
		return;
	if(!net_read_parameters)
		return;
	P_BP_NETWORK_HANDLE net_handle = (P_BP_NETWORK_HANDLE) net_read_parameters;
	P_BP_DATA_LIST_ENTRY entry = (P_BP_DATA_LIST_ENTRY) data_list_entry;
	entry->last_read_size = BP_NetRecv(net_handle, (char *) entry->data, entry->size);
	return;
}
void BP_DataListNetRead ( void * data_list_entry , void * net_read_parameters ) { if ( ! data_list_entry ) return ; if ( ! net_read_parameters ) return ; P_BP_NETWORK_HANDLE net_handle = ( P_BP_NETWORK_HANDLE ) net_read_parameters ; P_BP_DATA_LIST_ENTRY entry = ( P_BP_DATA_LIST_ENTRY ) data_list_entry ; entry -> last_read_size = BP_NetRecv ( net_handle , ( char * ) entry -> data , entry -> size ) ; return ; }
typecast for the data list generic send function
typecast for the data list generic send function
// ensure we have both data pointers // set the network handle to use // set the entry // read the data // exit callback