aboutsummaryrefslogtreecommitdiff
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
69 * @param data_size the length of the data 69 * @param data_size the length of the data
70 * @param proc the callback for result 70 * @param proc the callback for result
71 * @param proc_cls closure for callback 71 * @param proc_cls closure for callback
72 * @return GNUNET_YES if the request was processed
72 */ 73 */
73 void (*process_request) (struct GNUNET_REST_RequestHandle *handle, 74 enum GNUNET_GenericReturnValue (*process_request)(
74 GNUNET_REST_ResultProcessor proc, 75 struct GNUNET_REST_RequestHandle *handle,
75 void *proc_cls); 76 GNUNET_REST_ResultProcessor proc,
77 void *proc_cls);
76}; 78};
77 79
78 80