svn_config_get_int64

Function svn_config_get_int64 

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

Like svn_config_get(), but for 64-bit signed integers.

Parses the @a option in @a section of @a cfg as an integer value, setting @a *valuep to the result. If the option is not found, sets @a *valuep to @a default_value. If the option is found but cannot be converted to an integer, returns an error.

@since New in 1.8.