~ubuntu-branches/ubuntu/trusty/subversion/trusty-proposed

« back to all changes in this revision

Viewing changes to subversion/bindings/javahl/native/SVNAdmin.h

  • Committer: Package Import Robot
  • Author(s): Andy Whitcroft
  • Date: 2012-06-21 15:36:36 UTC
  • mfrom: (0.4.13 sid)
  • Revision ID: package-import@ubuntu.com-20120621153636-amqqmuidgwgxz1ly
Tags: 1.7.5-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Create pot file on build.
  - Build a python-subversion-dbg package.
  - Build-depend on python-dbg.
  - Build-depend on default-jre-headless/-jdk.
  - Do not apply java-build patch.
  - debian/rules: Manually create the doxygen output directory, otherwise
    we get weird build failures when running parallel builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * @copyright
3
 
 * ====================================================================
4
 
 * Copyright (c) 2003-2007 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
 
 * @endcopyright
17
 
 *
18
 
 * @file SVNAdmin.h
19
 
 * @brief Interface of the class SVNAdmin
20
 
 */
21
 
 
22
 
#ifndef SVNADMIN_H
23
 
#define SVNADMIN_H
24
 
 
25
 
#include <jni.h>
26
 
#include "svn_repos.h"
27
 
#include "SVNBase.h"
28
 
#include "Revision.h"
29
 
#include "Outputer.h"
30
 
#include "Inputer.h"
31
 
#include "MessageReceiver.h"
32
 
#include "Targets.h"
33
 
 
34
 
class SVNAdmin : public SVNBase
35
 
{
36
 
 public:
37
 
  void rmlocks(const char *path, Targets &locks);
38
 
  jobjectArray lslocks(const char *path);
39
 
  void verify(const char *path, Outputer &messageOut,
40
 
              Revision &revisionStart, Revision &revisionEnd);
41
 
  void setRevProp(const char *path, Revision &revision,
42
 
                  const char *propName, const char *propValue,
43
 
                  bool usePreRevPropChangeHook,
44
 
                  bool usePostRevPropChangeHook);
45
 
  void rmtxns(const char *path, Targets &transactions);
46
 
  jlong recover(const char *path);
47
 
  void lstxns(const char *path, MessageReceiver &messageReceiver);
48
 
  void load(const char *path, Inputer &dataIn, Outputer &messageOut,
49
 
            bool ignoreUUID, bool forceUUID, bool usePreCommitHook,
50
 
            bool usePostCommitHook, const char *relativePath);
51
 
  void listUnusedDBLogs(const char *path,
52
 
                        MessageReceiver &messageReceiver);
53
 
  void listDBLogs(const char *path, MessageReceiver &messageReceiver);
54
 
  void hotcopy(const char *path, const char *targetPath, bool cleanLogs);
55
 
  void dump(const char *path, Outputer &dataOut, Outputer &messageOut,
56
 
            Revision &revsionStart, Revision &RevisionEnd,
57
 
            bool incremental, bool useDeltas);
58
 
  void deltify(const char *path, Revision &start, Revision &end);
59
 
  void create(const char *path, bool ignoreUUID, bool forceUUID,
60
 
              const char *configPath, const char *fstype);
61
 
  SVNAdmin();
62
 
  virtual ~SVNAdmin();
63
 
  void dispose(jobject jthis);
64
 
  static SVNAdmin *getCppObject(jobject jthis);
65
 
 
66
 
 private:
67
 
  static svn_error_t *getRevnum(svn_revnum_t *revnum,
68
 
                                const svn_opt_revision_t *revision,
69
 
                                svn_revnum_t youngest, svn_repos_t *repos,
70
 
                                apr_pool_t *pool);
71
 
};
72
 
 
73
 
#endif // SVNADMIN_H