comparison Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 3400:0faae6f6e3c5

fixed some inconsistencies with pointer types in the plugin sdk
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Jun 2019 14:26:09 +0200
parents 4e8205871967
children b7728227a852
comparison
equal deleted inserted replaced
3399:4e8205871967 3400:0faae6f6e3c5
185 bool RestApiGet(const std::string& uri, 185 bool RestApiGet(const std::string& uri,
186 const std::map<std::string, std::string>& httpHeaders, 186 const std::map<std::string, std::string>& httpHeaders,
187 bool applyPlugins); 187 bool applyPlugins);
188 188
189 bool RestApiPost(const std::string& uri, 189 bool RestApiPost(const std::string& uri,
190 const char* body, 190 const void* body,
191 size_t bodySize, 191 size_t bodySize,
192 bool applyPlugins); 192 bool applyPlugins);
193 193
194 bool RestApiPut(const std::string& uri, 194 bool RestApiPut(const std::string& uri,
195 const char* body, 195 const void* body,
196 size_t bodySize, 196 size_t bodySize,
197 bool applyPlugins); 197 bool applyPlugins);
198 198
199 bool RestApiPost(const std::string& uri, 199 bool RestApiPost(const std::string& uri,
200 const Json::Value& body, 200 const Json::Value& body,
465 const std::map<std::string, std::string>& httpHeaders, 465 const std::map<std::string, std::string>& httpHeaders,
466 bool applyPlugins); 466 bool applyPlugins);
467 467
468 bool RestApiPost(Json::Value& result, 468 bool RestApiPost(Json::Value& result,
469 const std::string& uri, 469 const std::string& uri,
470 const char* body, 470 const void* body,
471 size_t bodySize, 471 size_t bodySize,
472 bool applyPlugins); 472 bool applyPlugins);
473 473
474 bool RestApiPost(Json::Value& result, 474 bool RestApiPost(Json::Value& result,
475 const std::string& uri, 475 const std::string& uri,
494 body.GetSize(), applyPlugins); 494 body.GetSize(), applyPlugins);
495 } 495 }
496 496
497 bool RestApiPut(Json::Value& result, 497 bool RestApiPut(Json::Value& result,
498 const std::string& uri, 498 const std::string& uri,
499 const char* body, 499 const void* body,
500 size_t bodySize, 500 size_t bodySize,
501 bool applyPlugins); 501 bool applyPlugins);
502 502
503 bool RestApiPut(Json::Value& result, 503 bool RestApiPut(Json::Value& result,
504 const std::string& uri, 504 const std::string& uri,