diff OrthancServer/DicomInstanceOrigin.h @ 2726:46061a91c88a jobs

new metadata (RemoteIP, CalledAET, HttpUsername), "?expand" metadata
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Jul 2018 18:01:16 +0200
parents a21b244efb37
children 4e43e67f8ecf
line wrap: on
line diff
--- a/OrthancServer/DicomInstanceOrigin.h	Thu Jul 12 16:07:56 2018 +0200
+++ b/OrthancServer/DicomInstanceOrigin.h	Thu Jul 12 18:01:16 2018 +0200
@@ -85,11 +85,13 @@
 
     const char* GetRemoteAetC() const; 
 
-    const std::string& GetRemoteIp() const;
-    
-    const std::string& GetCalledAet() const; 
+    bool LookupRemoteAet(std::string& result) const;
+
+    bool LookupRemoteIp(std::string& result) const;
 
-    const std::string& GetHttpUsername() const; 
+    bool LookupCalledAet(std::string& result) const;
+
+    bool LookupHttpUsername(std::string& result) const;
 
     void Format(Json::Value& result) const;