FreeBSD/contrib/subversion/subversion/libsvn_fs_x/cached_data.c
/* Simple wrapper around svn_io_file_aligned_seek to simplify callers. */
Simple wrapper around svn_io_file_aligned_seek to simplify callers.
Simple wrapper around svn_io_file_aligned_seek to simplify callers .
static svn_error_t *
rs_aligned_seek(rep_state_t *rs,
                apr_off_t *buffer_start,
                apr_off_t offset,
                apr_pool_t *scratch_pool)
{
  svn_fs_x__data_t *ffd = rs->sfile->fs->fsap_data;
  return svn_error_trace(svn_io_file_aligned_seek(rs->sfile->rfile->file,
                                                  ffd->block_size,
                                                  buffer_start, offset,
                                                  scratch_pool));
}
static svn_error_t * rs_aligned_seek ( rep_state_t * rs , apr_off_t * buffer_start , apr_off_t offset , apr_pool_t * scratch_pool ) { svn_fs_x__data_t * ffd = rs -> sfile -> fs -> fsap_data ; return svn_error_trace ( svn_io_file_aligned_seek ( rs -> sfile -> rfile -> file , ffd -> block_size , buffer_start , offset , scratch_pool ) ) ; }
Simple wrapper around svn_io_file_aligned_seek to simplify callers.
Simple wrapper around svn_io_file_aligned_seek to simplify callers .