~svn/ubuntu/raring/subversion/ppa

« back to all changes in this revision

Viewing changes to subversion/libsvn_fs_base/tree.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:26:14 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205012614-qom4xfypgtsqc2xq
Tags: 1.2.3dfsg1-3ubuntu1
Merge with the final Debian release of 1.2.3dfsg1-3, bringing in
fixes to the clean target, better documentation of the libdb4.3
upgrade and build fixes to work with swig1.3_1.3.27.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* tree.h : internal interface to tree node functions
 
2
 *
 
3
 * ====================================================================
 
4
 * Copyright (c) 2000-2004 CollabNet.  All rights reserved.
 
5
 *
 
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.
 
11
 *
 
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
 * ====================================================================
 
16
 */
 
17
 
 
18
#ifndef SVN_LIBSVN_FS_TREE_H
 
19
#define SVN_LIBSVN_FS_TREE_H
 
20
 
 
21
#ifdef __cplusplus
 
22
extern "C" {
 
23
#endif /* __cplusplus */
 
24
 
 
25
 
 
26
 
 
27
/* These functions implement some of the calls in the FS loader
 
28
   library's fs and txn vtables. */
 
29
 
 
30
svn_error_t *svn_fs_base__revision_root (svn_fs_root_t **root_p, svn_fs_t *fs,
 
31
                                         svn_revnum_t rev, apr_pool_t *pool);
 
32
 
 
33
svn_error_t *svn_fs_base__deltify (svn_fs_t *fs, svn_revnum_t rev,
 
34
                                   apr_pool_t *pool);
 
35
 
 
36
svn_error_t *svn_fs_base__commit_txn (const char **conflict_p,
 
37
                                      svn_revnum_t *new_rev, svn_fs_txn_t *txn,
 
38
                                      apr_pool_t *pool);
 
39
 
 
40
svn_error_t *svn_fs_base__txn_root (svn_fs_root_t **root_p, svn_fs_txn_t *txn,
 
41
                                    apr_pool_t *pool);
 
42
 
 
43
 
 
44
 
 
45
 
 
46
/* Helper func: in the context of TRAIL, return the KIND of PATH in
 
47
   head revision.   If PATH doesn't exist, set *KIND to svn_node_none.*/
 
48
svn_error_t *svn_fs_base__get_path_kind (svn_node_kind_t *kind,
 
49
                                         const char *path,
 
50
                                         trail_t *trail,
 
51
                                         apr_pool_t *pool);
 
52
 
 
53
/* Helper func: in the context of TRAIL, set *REV to the created-rev
 
54
   of PATH in head revision.  If PATH doesn't exist, set *REV to
 
55
   SVN_INVALID_REVNUM. */
 
56
svn_error_t *svn_fs_base__get_path_created_rev (svn_revnum_t *rev,
 
57
                                                const char *path,
 
58
                                                trail_t *trail,
 
59
                                                apr_pool_t *pool);
 
60
 
 
61
 
 
62
#ifdef __cplusplus
 
63
}
 
64
#endif /* __cplusplus */
 
65
 
 
66
#endif /* SVN_LIBSVN_FS_TREE_H */