aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_consensus_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_consensus_service.h')
-rw-r--r--src/include/gnunet_consensus_service.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/gnunet_consensus_service.h b/src/include/gnunet_consensus_service.h
index 6c6bcaa46..1b812290b 100644
--- a/src/include/gnunet_consensus_service.h
+++ b/src/include/gnunet_consensus_service.h
@@ -73,9 +73,11 @@ struct GNUNET_CONSENSUS_Element
73 * 73 *
74 * @param cls closure 74 * @param cls closure
75 * @param element new element, NULL on error 75 * @param element new element, NULL on error
76 * @return GNUNET_OK if the valid is well-formed and should be added to the consensus,
77 * GNUNET_SYSERR if the element should be ignored and not be propagated
76 */ 78 */
77typedef void (*GNUNET_CONSENSUS_NewElementCallback) (void *cls, 79typedef int (*GNUNET_CONSENSUS_NewElementCallback) (void *cls,
78 struct GNUNET_CONSENSUS_Element *element); 80 struct GNUNET_CONSENSUS_Element *element);
79 81
80 82
81 83