diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-29 14:04:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-29 14:04:08 +0000 |
commit | 853136628dc02b5037dbeb88bdca67d7ebc11139 (patch) | |
tree | 49dbad55e6c77a1e2a2bbf9b2a553d928824fdd7 /src/include/gnunet_consensus_service.h | |
parent | 9d8c2dc65760f95547455b47761ad03eeab4fa65 (diff) | |
download | gnunet-853136628dc02b5037dbeb88bdca67d7ebc11139.tar.gz gnunet-853136628dc02b5037dbeb88bdca67d7ebc11139.zip |
-docu
Diffstat (limited to 'src/include/gnunet_consensus_service.h')
-rw-r--r-- | src/include/gnunet_consensus_service.h | 6 |
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 | */ |
77 | typedef void (*GNUNET_CONSENSUS_NewElementCallback) (void *cls, | 79 | typedef int (*GNUNET_CONSENSUS_NewElementCallback) (void *cls, |
78 | struct GNUNET_CONSENSUS_Element *element); | 80 | struct GNUNET_CONSENSUS_Element *element); |
79 | 81 | ||
80 | 82 | ||
81 | 83 | ||