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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_consensus_service.h b/src/include/gnunet_consensus_service.h
index 6d8d23a17..3b08b2dee 100644
--- a/src/include/gnunet_consensus_service.h
+++ b/src/include/gnunet_consensus_service.h
@@ -73,7 +73,7 @@ struct GNUNET_CONSENSUS_Handle;
73 * @param session_id session identifier 73 * @param session_id session identifier
74 * Allows a group of peers to have more than consensus session. 74 * Allows a group of peers to have more than consensus session.
75 * @param new_element_cb callback, called when a new element is added to the set by 75 * @param new_element_cb callback, called when a new element is added to the set by
76 * another peer 76 * another peer. Also called when an error occurs.
77 * @param new_element_cls closure for new_element 77 * @param new_element_cls closure for new_element
78 * @return handle to use, NULL on error 78 * @return handle to use, NULL on error
79 */ 79 */
@@ -135,14 +135,14 @@ typedef void (*GNUNET_CONSENSUS_ConcludeCallback) (void *cls);
135 * try to conclude the consensus within a given time window. 135 * try to conclude the consensus within a given time window.
136 * 136 *
137 * @param consensus consensus session 137 * @param consensus consensus session
138 * @param timeout timeout after which the conculde callback 138 * @param deadline deadline after which the conculde callback
139 * must be called 139 * whill be called
140 * @param conclude called when the conclusion was successful 140 * @param conclude called when the conclusion was successful
141 * @param conclude_cls closure for the conclude callback 141 * @param conclude_cls closure for the conclude callback
142 */ 142 */
143void 143void
144GNUNET_CONSENSUS_conclude (struct GNUNET_CONSENSUS_Handle *consensus, 144GNUNET_CONSENSUS_conclude (struct GNUNET_CONSENSUS_Handle *consensus,
145 struct GNUNET_TIME_Relative timeout, 145 struct GNUNET_TIME_Absolute deadline,
146 GNUNET_CONSENSUS_ConcludeCallback conclude, 146 GNUNET_CONSENSUS_ConcludeCallback conclude,
147 void *conclude_cls); 147 void *conclude_cls);
148 148