svn_config_get_bool

Function svn_config_get_bool 

Source
pub unsafe extern "C" fn svn_config_get_bool(
    cfg: *mut svn_config_t,
    valuep: *mut svn_boolean_t,
    section: *const c_char,
    option: *const c_char,
    default_value: svn_boolean_t,
) -> *mut svn_error_t
Expand description

Like svn_config_get(), but for boolean values.

Parses the option as a boolean value. The recognized representations are ‘TRUE’/‘FALSE’, ‘yes’/‘no’, ‘on’/‘off’, ‘1’/‘0’; case does not matter. Returns an error if the option doesn’t contain a known string.