diff OrthancServer/ServerIndex.h @ 272:337c506461d2

protection from rest api
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Dec 2012 18:21:04 +0100
parents f6fdf5abe751
children 771f12042be9
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Fri Dec 07 15:03:31 2012 +0100
+++ b/OrthancServer/ServerIndex.h	Fri Dec 07 18:21:04 2012 +0100
@@ -137,5 +137,9 @@
 
     bool GetLastExportedResource(Json::Value& target);
 
+    bool IsProtectedPatient(const std::string& publicId);
+
+    void SetProtectedPatient(const std::string& publicId,
+                             bool isProtected);
   };
 }