Skip to main content

svn_fs_open_txn

Function svn_fs_open_txn 

Source
pub unsafe extern "C" fn svn_fs_open_txn(
    txn: *mut *mut svn_fs_txn_t,
    fs: *mut svn_fs_t,
    name: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Open the transaction named @a name in the filesystem @a fs. Set @a *txn to the transaction.

If there is no such transaction, #SVN_ERR_FS_NO_SUCH_TRANSACTION is the error returned.

Allocate the new transaction in @a pool; when @a pool is freed, the new transaction will be closed (neither committed nor aborted).