comparison Plugins/OrthancCPlugin/OrthancCPlugin.h @ 908:e078ea944089 plugins

refactoring HttpOutput
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Jun 2014 17:47:39 +0200
parents 9b8298234254
children dcb2469f00f4
comparison
equal deleted inserted replaced
907:9b8298234254 908:e078ea944089
295 **/ 295 **/
296 typedef struct _OrthancPluginRestOutput_t OrthancPluginRestOutput; 296 typedef struct _OrthancPluginRestOutput_t OrthancPluginRestOutput;
297 297
298 298
299 /** 299 /**
300 * @brief Signature of a function that answers to a REST request. 300 * @brief Signature of a callback function that answers to a REST request.
301 **/ 301 **/
302 typedef int32_t (*OrthancPluginRestCallback) ( 302 typedef int32_t (*OrthancPluginRestCallback) (
303 OrthancPluginRestOutput* output, 303 OrthancPluginRestOutput* output,
304 const char* url, 304 const char* url,
305 const OrthancPluginHttpRequest* request); 305 const OrthancPluginHttpRequest* request);