aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_consensus_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-17 19:18:09 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-17 19:18:09 +0000
commita18970f3dceb07ca2e91918f3bd737c65f233226 (patch)
treec4806bbe4f05db28a536a4939a11ff8ec4073b02 /src/include/gnunet_consensus_service.h
parentab1455c0d09ddaf5fbcf7ca69e47fb21e030ecfd (diff)
downloadgnunet-a18970f3dceb07ca2e91918f3bd737c65f233226.tar.gz
gnunet-a18970f3dceb07ca2e91918f3bd737c65f233226.zip
-dox
Diffstat (limited to 'src/include/gnunet_consensus_service.h')
-rw-r--r--src/include/gnunet_consensus_service.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gnunet_consensus_service.h b/src/include/gnunet_consensus_service.h
index 7341f0e9b..a2bf69021 100644
--- a/src/include/gnunet_consensus_service.h
+++ b/src/include/gnunet_consensus_service.h
@@ -70,6 +70,8 @@ struct GNUNET_CONSENSUS_Handle;
70 * @param session_id session identifier 70 * @param session_id session identifier
71 * Allows a group of peers to have more than consensus session. 71 * Allows a group of peers to have more than consensus session.
72 * @param element_size size of the elements in the reconciled set in bytes 72 * @param element_size size of the elements in the reconciled set in bytes
73 * @param num_initial_elements number of entries in the 'initial_elements' array
74 * @param initial_elements our elements for the consensus (each of 'element_size'
73 * @param new_element callback, called when a new element is added to the set by 75 * @param new_element callback, called when a new element is added to the set by
74 * another peer 76 * another peer
75 * @param new_element_cls closure for new_element 77 * @param new_element_cls closure for new_element
@@ -81,6 +83,7 @@ GNUNET_CONSENSUS_create (const struct GNUNET_CONFIGURATION_Handle *cfg,
81 const struct GNUNET_PeerIdentity *peers, 83 const struct GNUNET_PeerIdentity *peers,
82 const struct GNUNET_HashCode *session_id, 84 const struct GNUNET_HashCode *session_id,
83 size_t element_size, 85 size_t element_size,
86 unsigned int num_initial_elements,
84 const void **initial_elements, 87 const void **initial_elements,
85 GNUNET_CONSENSUS_NewElementCallback new_element, 88 GNUNET_CONSENSUS_NewElementCallback new_element,
86 void *new_element_cls); 89 void *new_element_cls);