diff OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h @ 4604:2c702cfae274 db-changes

New option "DatabaseServerIdentifier" to identify the server among a pool of Orthanc servers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Mar 2021 10:39:59 +0200
parents 27c07dbf6b4f
children 5fabef29c4ff
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h	Wed Mar 24 15:30:06 2021 +0100
+++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h	Tue Mar 30 10:39:59 2021 +0200
@@ -51,6 +51,7 @@
     PluginsErrorDictionary&         errorDictionary_;
     OrthancPluginDatabaseBackendV3  backend_;
     void*                           database_;
+    std::string                     serverIdentifier_;
 
     void CheckSuccess(OrthancPluginErrorCode code);
 
@@ -59,7 +60,8 @@
                             PluginsErrorDictionary&  errorDictionary,
                             const OrthancPluginDatabaseBackendV3* backend,
                             size_t backendSize,
-                            void* database);
+                            void* database,
+                            const std::string& serverIdentifier);
 
     virtual ~OrthancPluginDatabaseV3();