1 /* tree.h : internal interface to tree node functions
3 * ====================================================================
4 * Copyright (c) 2000-2006 CollabNet. All rights reserved.
6 * This software is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at http://subversion.tigris.org/license-1.html.
9 * If newer versions of this license are posted there, you may use a
10 * newer version instead, at your option.
12 * This software consists of voluntary contributions made by many
13 * individuals. For exact contribution history, see the revision
14 * history and logs, available at http://subversion.tigris.org/.
15 * ====================================================================
18 #ifndef SVN_LIBSVN_FS_TREE_H
19 #define SVN_LIBSVN_FS_TREE_H
23 #endif /* __cplusplus */
25 #include "svn_props.h"
29 /* These functions implement some of the calls in the FS loader
30 library's fs and txn vtables. */
32 svn_error_t
*svn_fs_base__revision_root(svn_fs_root_t
**root_p
, svn_fs_t
*fs
,
33 svn_revnum_t rev
, apr_pool_t
*pool
);
35 svn_error_t
*svn_fs_base__deltify(svn_fs_t
*fs
, svn_revnum_t rev
,
38 svn_error_t
*svn_fs_base__commit_txn(const char **conflict_p
,
39 svn_revnum_t
*new_rev
, svn_fs_txn_t
*txn
,
42 svn_error_t
*svn_fs_base__txn_root(svn_fs_root_t
**root_p
, svn_fs_txn_t
*txn
,
48 /* Helper func: in the context of TRAIL, return the KIND of PATH in
49 head revision. If PATH doesn't exist, set *KIND to svn_node_none.*/
50 svn_error_t
*svn_fs_base__get_path_kind(svn_node_kind_t
*kind
,
55 /* Helper func: in the context of TRAIL, set *REV to the created-rev
56 of PATH in head revision. If PATH doesn't exist, set *REV to
57 SVN_INVALID_REVNUM. */
58 svn_error_t
*svn_fs_base__get_path_created_rev(svn_revnum_t
*rev
,
66 #endif /* __cplusplus */
68 #endif /* SVN_LIBSVN_FS_TREE_H */