library/src/network/BP-Network.cc
// Reset flags for an individual proxy.  Does not clear configuration
// data, but only data which was set.
Reset flags for an individual proxy.  Does not clear configuration
data, but only data which was set.
Reset flags for an individual proxy . Does not clear configuration data but only data which was set .
BP_ERROR_T BP_NetProxyResetFlags(P_BP_NETWORK_PROXY proxy)
{
	if(!proxy)
		return ERR_FAILURE;
	proxy->connected = BP_FALSE;
	proxy->connected_ts = (time_t) 0;
	return ERR_SUCCESS;
}
BP_ERROR_T BP_NetProxyResetFlags ( P_BP_NETWORK_PROXY proxy ) { if ( ! proxy ) return ERR_FAILURE ; proxy -> connected = BP_FALSE ; proxy -> connected_ts = ( time_t ) 0 ; return ERR_SUCCESS ; }
Reset flags for an individual proxy.
Reset flags for an individual proxy .
// ensure we have a proxy pointer // set connected flag to BP_FALSE (default) // reset the connect timestamp // return indicating success