Function gnunet_sys::GNUNET_BANDWIDTH_value_get_available_until[][src]

pub unsafe extern "C" fn GNUNET_BANDWIDTH_value_get_available_until(
    bps: GNUNET_BANDWIDTH_Value32NBO,
    deadline: GNUNET_TIME_Relative
) -> u64

At the given bandwidth, calculate how much traffic will be available until the given deadline.

@param bps bandwidth @param deadline when is the deadline @return number of bytes available at bps until deadline