summaryrefslogtreecommitdiff
path: root/subversion/libsvn_fs_x/rep-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/libsvn_fs_x/rep-cache.h')
-rw-r--r--subversion/libsvn_fs_x/rep-cache.h13
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,