FreeBSD/contrib/subversion/subversion/libsvn_fs_x/cached_data.c
/* Set RS->START to the begin of the representation raw in RS->SFILE->RFILE,
   if that hasn't been done yet.  Use SCRATCH_POOL for temporary allocations.
 */
Set RS->START to the begin of the representation raw in RS->SFILE->RFILE,
if that hasn't been done yet.  Use SCRATCH_POOL for temporary allocations.
Set RS - > START to the begin of the representation raw in RS - > SFILE - > RFILE if that hasn ' t been done yet . Use SCRATCH_POOL for temporary allocations .
static svn_error_t*
auto_set_start_offset(rep_state_t *rs,
                      apr_pool_t *scratch_pool)
{
  if (rs->start == -1)
    {
      SVN_ERR(svn_fs_x__item_offset(&rs->start, &rs->sub_item,
                                    rs->sfile->fs, rs->sfile->rfile,
                                    &rs->rep_id, scratch_pool));
      rs->start += rs->header_size;
    }
  return SVN_NO_ERROR;
}
static svn_error_t * auto_set_start_offset ( rep_state_t * rs , apr_pool_t * scratch_pool ) { if ( rs -> start == -1 ) { SVN_ERR ( svn_fs_x__item_offset ( & rs -> start , & rs -> sub_item , rs -> sfile -> fs , rs -> sfile -> rfile , & rs -> rep_id , scratch_pool ) ) ; rs -> start += rs -> header_size ; } return SVN_NO_ERROR ; }
Set RS->START to the begin of the representation raw in RS->SFILE->RFILE,
if that hasn't been done yet.
Set RS - > START to the begin of the representation raw in RS - > SFILE - > RFILE if that hasn ' t been done yet .