Function gnunet_sys::GNUNET_STRINGS_fancy_time_to_relative[][src]

pub unsafe extern "C" fn GNUNET_STRINGS_fancy_time_to_relative(
    fancy_time: *const c_char,
    rtime: *mut GNUNET_TIME_Relative
) -> c_int

Convert a given fancy human-readable time to our internal representation.

@param fancy_time human readable string (i.e. 1 minute) @param rtime set to the relative time @return #GNUNET_OK on success, #GNUNET_SYSERR on error