summaryrefslogtreecommitdiff
path: root/src/include/gnunet_rest_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_rest_plugin.h')
-rw-r--r--src/include/gnunet_rest_plugin.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/gnunet_rest_plugin.h b/src/include/gnunet_rest_plugin.h
index 770ba66f2..96454f66b 100644
--- a/src/include/gnunet_rest_plugin.h
+++ b/src/include/gnunet_rest_plugin.h
@@ -69,10 +69,12 @@ struct GNUNET_REST_Plugin
* @param data_size the length of the data
* @param proc the callback for result
* @param proc_cls closure for callback
+ * @return GNUNET_YES if the request was processed
*/
- void (*process_request) (struct GNUNET_REST_RequestHandle *handle,
- GNUNET_REST_ResultProcessor proc,
- void *proc_cls);
+ enum GNUNET_GenericReturnValue (*process_request)(
+ struct GNUNET_REST_RequestHandle *handle,
+ GNUNET_REST_ResultProcessor proc,
+ void *proc_cls);
};