Skip to main content

svn_client_open_ra_session2

Function svn_client_open_ra_session2 

Source
pub unsafe extern "C" fn svn_client_open_ra_session2(
    session: *mut *mut svn_ra_session_t,
    url: *const c_char,
    wri_abspath: *const c_char,
    ctx: *mut svn_client_ctx_t,
    result_pool: *mut apr_pool_t,
    scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Open an RA session rooted at @a url, and return it in @a *session.

Use the authentication baton stored in @a ctx for authentication. @a *session is allocated in @a result_pool.

If @a wri_abspath is not NULL, use the working copy identified by @a wri_abspath to potentially avoid transferring unneeded data.

@note This function is similar to svn_ra_open4(), but the caller avoids having to providing its own callback functions. @since New in 1.8.