pub unsafe extern "C" fn svn_client_create_context2(
ctx: *mut *mut svn_client_ctx_t,
cfg_hash: *mut apr_hash_t,
pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Initialize a client context. Set @a *ctx to a client context object, allocated in @a pool, that represents a particular instance of an svn client. @a cfg_hash is used to initialise the config member of the returned context object and should remain valid for the lifetime of the object. @a cfg_hash may be @c NULL, in which case it is ignored.
In order to avoid backwards compatibility problems, clients must use this function to initialize and allocate the #svn_client_ctx_t structure rather than doing so themselves, as the size of this structure may change in the future.
The current implementation never returns error, but callers should still check for error, for compatibility with future versions.
@since New in 1.8.