Mercurial > hg > orthanc
comparison OrthancFramework/Sources/HttpServer/HttpToolbox.h @ 4332:17d209a3f397
fix missing symbols for stone
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Nov 2020 21:42:50 +0100 |
parents | a01b1c9cbef4 |
children | e457c30970cf |
comparison
equal
deleted
inserted
replaced
4331:072adf3c3409 | 4332:17d209a3f397 |
---|---|
19 * <http://www.gnu.org/licenses/>. | 19 * <http://www.gnu.org/licenses/>. |
20 **/ | 20 **/ |
21 | 21 |
22 | 22 |
23 #pragma once | 23 #pragma once |
24 | |
25 #if !defined(ORTHANC_SANDBOXED) | |
26 # error Macro ORTHANC_SANDBOXED must be defined | |
27 #endif | |
28 | 24 |
29 #include "../Compatibility.h" | 25 #include "../Compatibility.h" |
30 #include "../OrthancFramework.h" | 26 #include "../OrthancFramework.h" |
31 #include "../Toolbox.h" | 27 #include "../Toolbox.h" |
32 | 28 |
63 const Arguments& httpHeaders); | 59 const Arguments& httpHeaders); |
64 | 60 |
65 static void CompileGetArguments(Arguments& compiled, | 61 static void CompileGetArguments(Arguments& compiled, |
66 const GetArguments& source); | 62 const GetArguments& source); |
67 | 63 |
68 #if ORTHANC_SANDBOXED != 1 | 64 #if (ORTHANC_ENABLE_MONGOOSE == 1 || ORTHANC_ENABLE_CIVETWEB == 1) |
69 ORTHANC_DEPRECATED | 65 ORTHANC_DEPRECATED |
70 static bool SimpleGet(std::string& result, | 66 static bool SimpleGet(std::string& result, |
71 IHttpHandler& handler, | 67 IHttpHandler& handler, |
72 RequestOrigin origin, | 68 RequestOrigin origin, |
73 const std::string& uri, | 69 const std::string& uri, |
74 const Arguments& httpHeaders); | 70 const Arguments& httpHeaders); |
75 #endif | 71 |
76 | |
77 #if ORTHANC_SANDBOXED != 1 | |
78 ORTHANC_DEPRECATED | 72 ORTHANC_DEPRECATED |
79 static bool SimplePost(std::string& result, | 73 static bool SimplePost(std::string& result, |
80 IHttpHandler& handler, | 74 IHttpHandler& handler, |
81 RequestOrigin origin, | 75 RequestOrigin origin, |
82 const std::string& uri, | 76 const std::string& uri, |
83 const void* bodyData, | 77 const void* bodyData, |
84 size_t bodySize, | 78 size_t bodySize, |
85 const Arguments& httpHeaders); | 79 const Arguments& httpHeaders); |
86 #endif | |
87 | 80 |
88 #if ORTHANC_SANDBOXED != 1 | |
89 ORTHANC_DEPRECATED | 81 ORTHANC_DEPRECATED |
90 static bool SimplePut(std::string& result, | 82 static bool SimplePut(std::string& result, |
91 IHttpHandler& handler, | 83 IHttpHandler& handler, |
92 RequestOrigin origin, | 84 RequestOrigin origin, |
93 const std::string& uri, | 85 const std::string& uri, |
94 const void* bodyData, | 86 const void* bodyData, |
95 size_t bodySize, | 87 size_t bodySize, |
96 const Arguments& httpHeaders); | 88 const Arguments& httpHeaders); |
97 #endif | |
98 | 89 |
99 #if ORTHANC_SANDBOXED != 1 | |
100 ORTHANC_DEPRECATED | 90 ORTHANC_DEPRECATED |
101 static bool SimpleDelete(IHttpHandler& handler, | 91 static bool SimpleDelete(IHttpHandler& handler, |
102 RequestOrigin origin, | 92 RequestOrigin origin, |
103 const std::string& uri, | 93 const std::string& uri, |
104 const Arguments& httpHeaders); | 94 const Arguments& httpHeaders); |