]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
BEE Backport bacula/src/lib/org_lib_dedup.c
authorEric Bollengier <eric@baculasystems.com>
Thu, 23 Apr 2020 14:54:26 +0000 (16:54 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 29 Apr 2021 08:44:17 +0000 (10:44 +0200)
This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Apr 17 18:33:43 2020 +0200

    Update Bacula Systems Copyright

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Mon Mar 2 14:29:23 2020 +0100

    Add community version of lib/dedup.c/h files

bacula/src/lib/org_lib_dedup.c [new file with mode: 0644]

diff --git a/bacula/src/lib/org_lib_dedup.c b/bacula/src/lib/org_lib_dedup.c
new file mode 100644 (file)
index 0000000..2871b25
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+   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"
+
+int bhash_info(int hash_id, const char **hash_name)
+{
+   *hash_name = "N/A";
+   return 0;
+}
+
+bool is_deduplicable_stream(int stream)
+{
+   return false;
+}
+
+bool is_client_rehydration_friendly_stream(int stream)
+{
+   return false;
+}