diff options
Diffstat (limited to 'subversion/libsvn_fs_fs/low_level.h')
-rw-r--r-- | subversion/libsvn_fs_fs/low_level.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/subversion/libsvn_fs_fs/low_level.h b/subversion/libsvn_fs_fs/low_level.h index 35b9d0da5000e..3029e27890528 100644 --- a/subversion/libsvn_fs_fs/low_level.h +++ b/subversion/libsvn_fs_fs/low_level.h @@ -67,6 +67,8 @@ svn_fs_fs__unparse_revision_trailer(apr_off_t root_offset, * *P2L_OFFSET, respectively. Also, return the expected checksums in * in *L2P_CHECKSUM and *P2L_CHECKSUM. * + * FOOTER_OFFSET is used for validation. + * * Note that REV is only used to construct nicer error objects that * mention this revision. Allocate the checksums in RESULT_POOL. */ @@ -77,6 +79,7 @@ svn_fs_fs__parse_footer(apr_off_t *l2p_offset, svn_checksum_t **p2l_checksum, svn_stringbuf_t *footer, svn_revnum_t rev, + apr_off_t footer_offset, apr_pool_t *result_pool); /* Given the offset of the L2P index data in L2P_OFFSET, the content @@ -94,11 +97,13 @@ svn_fs_fs__unparse_footer(apr_off_t l2p_offset, apr_pool_t *result_pool, apr_pool_t *scratch_pool); -/* Read all the changes from STREAM and store them in *CHANGES, - allocated in RESULT_POOL. Do temporary allocations in SCRATCH_POOL. */ +/* Read up to MAX_COUNT of the changes from STREAM and store them in + *CHANGES, allocated in RESULT_POOL. Do temporary allocations in + SCRATCH_POOL. */ svn_error_t * svn_fs_fs__read_changes(apr_array_header_t **changes, svn_stream_t *stream, + int max_count, apr_pool_t *result_pool, apr_pool_t *scratch_pool); |