aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_rest_plugin.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2015-03-13 15:33:47 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2015-03-13 15:33:47 +0000
commit7ae2282ee296b24e0132d155ece49ae87e21215b (patch)
tree1dd3d8f99e0b23fcb703c9cc50f05932bf682e18 /src/include/gnunet_rest_plugin.h
parente2963510a62c68113535f885365137083d9f474c (diff)
downloadgnunet-7ae2282ee296b24e0132d155ece49ae87e21215b.tar.gz
gnunet-7ae2282ee296b24e0132d155ece49ae87e21215b.zip
-change API
Diffstat (limited to 'src/include/gnunet_rest_plugin.h')
-rw-r--r--src/include/gnunet_rest_plugin.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/gnunet_rest_plugin.h b/src/include/gnunet_rest_plugin.h
index a7318e628..1d5a2db59 100644
--- a/src/include/gnunet_rest_plugin.h
+++ b/src/include/gnunet_rest_plugin.h
@@ -27,6 +27,7 @@
27#define GNUNET_REST_PLUGIN_H 27#define GNUNET_REST_PLUGIN_H
28 28
29#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
30#include "microhttpd.h"
30 31
31#ifdef __cplusplus 32#ifdef __cplusplus
32extern "C" 33extern "C"
@@ -40,13 +41,11 @@ extern "C"
40 * Iterator called on obtained result for a REST result. 41 * Iterator called on obtained result for a REST result.
41 * 42 *
42 * @param cls closure 43 * @param cls closure
43 * @param data REST result 44 * @param resp the response
44 * @param data_len length of result
45 * @param status status code (HTTP) 45 * @param status status code (HTTP)
46 */ 46 */
47typedef void (*GNUNET_REST_ResultProcessor) (void *cls, 47typedef void (*GNUNET_REST_ResultProcessor) (void *cls,
48 const char *data, 48 struct MHD_Response *resp,
49 size_t data_len,
50 int status); 49 int status);
51 50
52struct RestConnectionDataHandle 51struct RestConnectionDataHandle