svn_repos_authz_parse2

Function svn_repos_authz_parse2 

Source
pub unsafe extern "C" fn svn_repos_authz_parse2(
    authz_p: *mut *mut svn_authz_t,
    stream: *mut svn_stream_t,
    groups_stream: *mut svn_stream_t,
    warning_func: svn_repos_authz_warning_func_t,
    warning_baton: *mut c_void,
    result_pool: *mut apr_pool_t,
    scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Read authz configuration data from @a stream into @a *authz_p, allocated in @a result_pool.

If @a groups_stream is set, use the global groups parsed from it.

If the @a warning_func callback is not @c NULL, it is called (with @a warning_baton) to report non-fatal warnings emitted by the parser.

Uses @a scratch_pool for temporary aloocations.

@since New in 1.12.