svn_client_get_simple_provider

Function svn_client_get_simple_provider 

Source
pub unsafe extern "C" fn svn_client_get_simple_provider(
    provider: *mut *mut svn_auth_provider_object_t,
    pool: *mut apr_pool_t,
)
Expand description

Create and return @a *provider, an authentication provider of type #svn_auth_cred_simple_t that gets/sets information from the user’s ~/.subversion configuration directory. Allocate @a *provider in @a pool.

If a default username or password is available, @a *provider will honor them as well, and return them when svn_auth_first_credentials() is called. (see #SVN_AUTH_PARAM_DEFAULT_USERNAME and #SVN_AUTH_PARAM_DEFAULT_PASSWORD).

@deprecated Provided for backward compatibility with the 1.3 API. Use svn_auth_get_simple_provider2() instead.