diff Core/Toolbox.h @ 966:886652370ff2

accelerating REST API matching
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Jun 2014 15:33:22 +0200
parents 766a57997121
children 509e146c3cb3
line wrap: on
line diff
--- a/Core/Toolbox.h	Fri Jun 27 13:58:02 2014 +0200
+++ b/Core/Toolbox.h	Fri Jun 27 15:33:22 2014 +0200
@@ -73,6 +73,10 @@
     void SplitUriComponents(UriComponents& components,
                             const std::string& uri);
   
+    void TruncateUri(UriComponents& target,
+                     const UriComponents& source,
+                     size_t fromLevel);
+  
     bool IsChildUri(const UriComponents& baseUri,
                     const UriComponents& testedUri);