diff options
author | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 |
commit | 3faf8d6bffc5d0fb2525ba37bb504c53366caf9d (patch) | |
tree | 7e47911263e75034b767fe34b2f8d3d17e91f66d /subversion/libsvn_fs_x/rep-cache.h | |
parent | a55fb3c0d5eca7d887798125d5b95942b1f01d4b (diff) |
Diffstat (limited to 'subversion/libsvn_fs_x/rep-cache.h')
-rw-r--r-- | subversion/libsvn_fs_x/rep-cache.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/subversion/libsvn_fs_x/rep-cache.h b/subversion/libsvn_fs_x/rep-cache.h index 1fe26da9b8109..5c355cbbe03e8 100644 --- a/subversion/libsvn_fs_x/rep-cache.h +++ b/subversion/libsvn_fs_x/rep-cache.h @@ -40,6 +40,10 @@ svn_error_t * svn_fs_x__open_rep_cache(svn_fs_t *fs, apr_pool_t *scratch_pool); +/* Close the rep cache database associated with FS. */ +svn_error_t * +svn_fs_x__close_rep_cache(svn_fs_t *fs); + /* Set *EXISTS to TRUE iff the rep-cache DB file exists. */ svn_error_t * svn_fs_x__exists_rep_cache(svn_boolean_t *exists, @@ -61,11 +65,12 @@ svn_fs_x__walk_rep_reference(svn_fs_t *fs, apr_pool_t *scratch_pool); /* Return the representation REP in FS which has fulltext CHECKSUM. - REP is allocated in RESULT_POOL. If the rep cache database has not been - opened, just set *REP to NULL. Returns SVN_ERR_FS_CORRUPT if a reference - beyond HEAD is detected. Uses SCRATCH_POOL for temporary allocations. */ + *REP_P is allocated in RESULT_POOL. If the rep cache database has not + been opened, just set *REP_P to NULL. Returns SVN_ERR_FS_CORRUPT if + a reference beyond HEAD is detected. Uses SCRATCH_POOL for temporary + allocations.*/ svn_error_t * -svn_fs_x__get_rep_reference(svn_fs_x__representation_t **rep, +svn_fs_x__get_rep_reference(svn_fs_x__representation_t **rep_p, svn_fs_t *fs, svn_checksum_t *checksum, apr_pool_t *result_pool, |