]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
BEE Backport bacula/src/stored/org_stored_dedup.c
authorEric Bollengier <eric@baculasystems.com>
Tue, 12 May 2020 17:07:37 +0000 (19:07 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 29 Apr 2021 08:44:18 +0000 (10:44 +0200)
This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Mon Feb 17 12:59:43 2020 +0100

    Move dedup functions in separted files

bacula/src/stored/org_stored_dedup.c [new file with mode: 0644]

diff --git a/bacula/src/stored/org_stored_dedup.c b/bacula/src/stored/org_stored_dedup.c
new file mode 100644 (file)
index 0000000..329eb05
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+   Bacula(R) - The Network Backup Solution
+
+   Copyright (C) 2000-2020 Kern Sibbald
+
+   The original author of Bacula is Kern Sibbald, with contributions
+   from many others, a complete list can be found in the file AUTHORS.
+
+   You may use this file and others of this release according to the
+   license defined in the LICENSE file, which includes the Affero General
+   Public License, v3.0 ("AGPLv3") and some additional permissions and
+   terms pursuant to its AGPLv3 Section 7.
+
+   This notice must be preserved when any source code is
+   conveyed and/or propagated.
+
+   Bacula(R) is a registered trademark of Kern Sibbald.
+*/
+
+#include "bacula.h"
+#include "stored.h"
+
+bool is_dedup_server_side(DEVICE *dev, int32_t stream, uint64_t stream_len)
+{
+   return false;
+}
+
+bool is_dedup_ref(DEV_RECORD *rec, bool lazy)
+{
+   return false;
+}
+
+
+void dedup_get_limits(int64_t *nofile, int64_t *memlock)
+{
+}
+
+/* dump the status of all dedupengines */
+void list_dedupengines(char *cmd, STATUS_PKT *sp)
+{
+}
+
+bool dedup_parse_filter(char *fltr)
+{
+   return false;
+}