Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/include/jcr.h')
-rw-r--r--core/src/include/jcr.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/core/src/include/jcr.h b/core/src/include/jcr.h
index 1b7949184..f140e399f 100644
--- a/core/src/include/jcr.h
+++ b/core/src/include/jcr.h
@@ -57,7 +57,9 @@ class JobControlRecord;
struct AttributesDbRecord;
struct PluginContext;
-struct JobControlRecordPrivate;
+struct DirectorJcrImpl;
+struct StoredJcrImpl;
+struct FiledJcrImpl;
struct VolumeSessionInfo;
#ifdef HAVE_WIN32
@@ -230,7 +232,12 @@ class JobControlRecord {
PathList* path_list{}; /**< Directory list (used by findlib) */
bool is_passive_client_connection_probing{}; /**< Set if director probes a passive client connection */
- JobControlRecordPrivate* impl{nullptr}; /* Pointer to implementation of each daemon */
+ union {
+ DirectorJcrImpl* dir_impl;
+ StoredJcrImpl* sd_impl;
+ FiledJcrImpl* fd_impl;
+ };
+
};
/* clang-format on */