Function gnunet_sys::GNUNET_GETOPT_option_relative_time[][src]

pub unsafe extern "C" fn GNUNET_GETOPT_option_relative_time(
    shortName: c_char,
    name: *const c_char,
    argumentHelp: *const c_char,
    description: *const c_char,
    val: *mut GNUNET_TIME_Relative
) -> GNUNET_GETOPT_CommandLineOption

Allow user to specify a struct GNUNET_TIME_Relative (using human-readable “fancy” time).

@param shortName short name of the option @param name long name of the option @param argumentHelp help text for the option argument @param description long help text for the option @param[out] val set to the time specified at the command line