Skip to main content

svn_ra_has_capability

Function svn_ra_has_capability 

Source
pub unsafe extern "C" fn svn_ra_has_capability(
    session: *mut svn_ra_session_t,
    has: *mut svn_boolean_t,
    capability: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Set @a *has to TRUE if the server represented by @a session has @a capability (one of the capabilities beginning with @c “SVN_RA_CAPABILITY_”), else set @a *has to FALSE.

If @a capability isn’t recognized, throw @c SVN_ERR_UNKNOWN_CAPABILITY, with the effect on @a *has undefined.

Use @a pool for all allocation.

@since New in 1.5.