]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
BEE Backport bacula/src/stored/org_stored_prepare.c
authorEric Bollengier <eric@baculasystems.com>
Tue, 12 May 2020 17:07:39 +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:   Fri Mar 6 19:28:35 2020 +0100

    Fix community build

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Mar 6 16:25:13 2020 +0100

    Move MaxPoolBytes checks in bee files

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Mar 6 14:58:12 2020 +0100

    Move prepare functions to bee_stored_prepare.c

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

diff --git a/bacula/src/stored/org_stored_prepare.c b/bacula/src/stored/org_stored_prepare.c
new file mode 100644 (file)
index 0000000..e7834e0
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+   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"
+#include "prepare.h"
+
+bool prepare(JCR *jcr, prepare_ctx &pctx, DEV_RECORD &rec)
+{
+   return false;
+}
+
+bool prepare_sd_end(JCR *jcr, prepare_ctx &pctx, DEV_RECORD &rec)
+{
+   return false;
+}