diff OrthancServer/ServerIndex.h @ 1509:0586ed8897f1

limit and since arguments while retrieving DICOM resources in the REST API
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Aug 2015 10:01:59 +0200
parents c0bdc47165ef
children d6a93e12b1c1
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Fri Aug 07 20:14:49 2015 +0200
+++ b/OrthancServer/ServerIndex.h	Mon Aug 10 10:01:59 2015 +0200
@@ -159,6 +159,11 @@
     void GetAllUuids(std::list<std::string>& target,
                      ResourceType resourceType);
 
+    void GetAllUuids(std::list<std::string>& target,
+                     ResourceType resourceType,
+                     size_t since,
+                     size_t limit);
+
     bool DeleteResource(Json::Value& target /* out */,
                         const std::string& uuid,
                         ResourceType expectedType);