Function gnunet_sys::GNUNET_TIME_round_rel[][src]

pub unsafe extern "C" fn GNUNET_TIME_round_rel(
    rt: *mut GNUNET_TIME_Relative
) -> c_int

Round a time value so that it is suitable for transmission via JSON encodings.

@param rt time to round @return #GNUNET_OK if time was already rounded, #GNUNET_NO if it was just now rounded