Function gnunet_sys::GNUNET_CONFIGURATION_get_value_yesno[][src]

pub unsafe extern "C" fn GNUNET_CONFIGURATION_get_value_yesno(
    cfg: *const GNUNET_CONFIGURATION_Handle,
    section: *const c_char,
    option: *const c_char
) -> GNUNET_GenericReturnValue

Get a configuration value that should be in a set of “YES” or “NO”.

@param cfg configuration to inspect @param section section of interest @param option option of interest @return #GNUNET_YES, #GNUNET_NO or if option has no valid value, #GNUNET_SYSERR