Mercurial > hg > orthanc
comparison OrthancServer/Plugins/Samples/MultitenantDicom/Plugin.cpp @ 5277:acaea72a3e91 Orthanc-1.12.0
Orthanc-1.12.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 14 Apr 2023 17:31:27 +0200 |
parents | 7cb1b851f5c8 |
children | a8385880902f |
comparison
equal
deleted
inserted
replaced
5276:d00064ec4baf | 5277:acaea72a3e91 |
---|---|
118 { | 118 { |
119 OrthancPlugins::ReportMinimalOrthancVersion(1, 12, 0); | 119 OrthancPlugins::ReportMinimalOrthancVersion(1, 12, 0); |
120 return -1; | 120 return -1; |
121 } | 121 } |
122 | 122 |
123 Orthanc::FromDcmtkBridge::InitializeDictionary(false /* loadPrivateDictionary */); | |
124 /* Disable "gethostbyaddr" (which results in memory leaks) and use raw IP addresses */ | 123 /* Disable "gethostbyaddr" (which results in memory leaks) and use raw IP addresses */ |
125 dcmDisableGethostbyaddr.set(OFTrue); | 124 dcmDisableGethostbyaddr.set(OFTrue); |
126 | 125 |
127 OrthancPluginSetDescription(context, "Multitenant plugin for Orthanc."); | 126 OrthancPluginSetDescription(context, "Multitenant plugin for Orthanc."); |
128 | 127 |
129 OrthancPluginRegisterOnChangeCallback(context, OnChangeCallback); | 128 OrthancPluginRegisterOnChangeCallback(context, OnChangeCallback); |
130 | 129 |
131 try | 130 try |