diff OrthancServer/main.cpp @ 2268:ce5c13b95dac

New function: OrthancPluginRegisterIncomingHttpRequestFilter2()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 Feb 2017 21:49:16 +0100
parents 596528620416
children 5465cab476cf
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Wed Feb 22 13:32:05 2017 +0100
+++ b/OrthancServer/main.cpp	Wed Feb 22 21:49:16 2017 +0100
@@ -291,10 +291,11 @@
                          const char* uri,
                          const char* ip,
                          const char* username,
-                         const IHttpHandler::Arguments& httpHeaders) const
+                         const IHttpHandler::Arguments& httpHeaders,
+                         const IHttpHandler::GetArguments& getArguments) const
   {
     if (plugins_ != NULL &&
-        !plugins_->IsAllowed(method, uri, ip, username, httpHeaders))
+        !plugins_->IsAllowed(method, uri, ip, username, httpHeaders, getArguments))
     {
       return false;
     }