Checkout
stefan2
committed
on 27 Aug 14
[Reverted in r1620928]

Make FSFS export the private APIs that svnfsfs comsumes.

Not much going on here, mainly moving lots of declarations… Show more
[Reverted in r1620928]

Make FSFS export the private APIs that svnfsfs comsumes.

Not much going on here, mainly moving lots of declarations

and definitions to the new svn_fs_fs_private.h header.

* build.conf

 (libsvn_fs_fs): Tell msvc what to export.

* subversion/include/private/svn_fs_fs_private.h

 (): New header file. Contents taken from the following headers.

* subversion/libsvn_fs_fs/fs.h

 (fs_fs_shared_txn_data_t,

  fs_fs_shared_data_t,

  fs_fs_dag_cache_t,

  fs_fs_data_t): Moved to the new header.

* subversion/libsvn_fs_fs/id.h

 (svn_fs_fs__id_part_t): Same.

* subversion/libsvn_fs_fs/index.h

 (SVN_FS_FS__ITEM_INDEX_*,

  SVN_FS_FS__ITEM_TYPE_*,

  svn_fs_fs__p2l_entry_t,

  svn_fs_fs__p2l_index_lookup,

  svn_fs_fs__p2l_get_max_offset,

  svn_fs_fs__l2p_index_from_p2l_entries,

  svn_fs_fs__p2l_index_from_p2l_entries): Same.

* subversion/libsvn_fs_fs/pack.h

 (svn_fs_fs__get_packed_offset): Same.

* subversion/libsvn_fs_fs/rev_file.h

 (svn_fs_fs__packed_number_stream_t,

  svn_fs_fs__revision_file_t,

  svn_fs_fs__open_pack_or_rev_file,

  svn_fs_fs__open_pack_or_rev_file_writable,

  svn_fs_fs__auto_read_footer,

  svn_fs_fs__close_revision_file): Same.

* subversion/libsvn_fs_fs/transaction.h

 (svn_fs_fs__add_index_data): Same.

* subversion/libsvn_fs_fs/util.h

 (svn_fs_fs__use_log_addressing): Same.

* subversion/libsvn_fs_fs/cached_data.c

 (): Add (now) missing #include.

* subversion/svnfsfs/dump-index-cmd.c,

 subversion/svnfsfs/load-index-cmd.c,

 subversion/svnfsfs/stats-cmd.c:

 (): #include the new header instead of the lib-internal ones. Show less