FreeBSD/contrib/subversion/subversion/libsvn_fs_fs/rev_file.c
/* Initialize the *FILE structure for REVISION in filesystem FS.  Set its
 * pool member to the provided POOL. */
Initialize the *FILE structure for REVISION in filesystem FS.  Set its
pool member to the provided POOL.
Initialize the * FILE structure for REVISION in filesystem FS . Set its pool member to the provided POOL .
static void
init_revision_file(svn_fs_fs__revision_file_t *file,
                   svn_fs_t *fs,
                   svn_revnum_t revision,
                   apr_pool_t *pool)
{
  fs_fs_data_t *ffd = fs->fsap_data;
  file->is_packed = svn_fs_fs__is_packed_rev(fs, revision);
  file->start_revision = svn_fs_fs__packed_base_rev(fs, revision);
  file->file = NULL;
  file->stream = NULL;
  file->p2l_stream = NULL;
  file->l2p_stream = NULL;
  file->block_size = ffd->block_size;
  file->l2p_offset = -1;
  file->l2p_checksum = NULL;
  file->p2l_offset = -1;
  file->p2l_checksum = NULL;
  file->footer_offset = -1;
  file->pool = pool;
}
static void init_revision_file ( svn_fs_fs__revision_file_t * file , svn_fs_t * fs , svn_revnum_t revision , apr_pool_t * pool ) { fs_fs_data_t * ffd = fs -> fsap_data ; file -> is_packed = svn_fs_fs__is_packed_rev ( fs , revision ) ; file -> start_revision = svn_fs_fs__packed_base_rev ( fs , revision ) ; file -> file = NULL ; file -> stream = NULL ; file -> p2l_stream = NULL ; file -> l2p_stream = NULL ; file -> block_size = ffd -> block_size ; file -> l2p_offset = -1 ; file -> l2p_checksum = NULL ; file -> p2l_offset = -1 ; file -> p2l_checksum = NULL ; file -> footer_offset = -1 ; file -> pool = pool ; }
Initialize the *FILE structure for REVISION in filesystem FS.
Initialize the * FILE structure for REVISION in filesystem FS .