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.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/include/gnunet_consensus_service.h b/src/include/gnunet_consensus_service.h
index 19736f241..e864b5337 100644
--- a/src/include/gnunet_consensus_service.h
+++ b/src/include/gnunet_consensus_service.h
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
@@ -93,14 +93,14 @@ struct GNUNET_CONSENSUS_Handle;
93 * @return handle to use, NULL on error 93 * @return handle to use, NULL on error
94 */ 94 */
95struct GNUNET_CONSENSUS_Handle * 95struct GNUNET_CONSENSUS_Handle *
96GNUNET_CONSENSUS_create (const struct GNUNET_CONFIGURATION_Handle *cfg, 96GNUNET_CONSENSUS_create(const struct GNUNET_CONFIGURATION_Handle *cfg,
97 unsigned int num_peers, 97 unsigned int num_peers,
98 const struct GNUNET_PeerIdentity *peers, 98 const struct GNUNET_PeerIdentity *peers,
99 const struct GNUNET_HashCode *session_id, 99 const struct GNUNET_HashCode *session_id,
100 struct GNUNET_TIME_Absolute start, 100 struct GNUNET_TIME_Absolute start,
101 struct GNUNET_TIME_Absolute deadline, 101 struct GNUNET_TIME_Absolute deadline,
102 GNUNET_CONSENSUS_ElementCallback new_element_cb, 102 GNUNET_CONSENSUS_ElementCallback new_element_cb,
103 void *new_element_cls); 103 void *new_element_cls);
104 104
105 105
106/** 106/**
@@ -132,10 +132,10 @@ typedef void (*GNUNET_CONSENSUS_InsertDoneCallback) (void *cls,
132 * @param idc_cls closure for @a idc 132 * @param idc_cls closure for @a idc
133 */ 133 */
134void 134void
135GNUNET_CONSENSUS_insert (struct GNUNET_CONSENSUS_Handle *consensus, 135GNUNET_CONSENSUS_insert(struct GNUNET_CONSENSUS_Handle *consensus,
136 const struct GNUNET_SET_Element *element, 136 const struct GNUNET_SET_Element *element,
137 GNUNET_CONSENSUS_InsertDoneCallback idc, 137 GNUNET_CONSENSUS_InsertDoneCallback idc,
138 void *idc_cls); 138 void *idc_cls);
139 139
140 140
141 141
@@ -156,9 +156,9 @@ typedef void (*GNUNET_CONSENSUS_ConcludeCallback) (void *cls);
156 * @param conclude_cls closure for the conclude callback 156 * @param conclude_cls closure for the conclude callback
157 */ 157 */
158void 158void
159GNUNET_CONSENSUS_conclude (struct GNUNET_CONSENSUS_Handle *consensus, 159GNUNET_CONSENSUS_conclude(struct GNUNET_CONSENSUS_Handle *consensus,
160 GNUNET_CONSENSUS_ConcludeCallback conclude, 160 GNUNET_CONSENSUS_ConcludeCallback conclude,
161 void *conclude_cls); 161 void *conclude_cls);
162 162
163 163
164/** 164/**
@@ -168,7 +168,7 @@ GNUNET_CONSENSUS_conclude (struct GNUNET_CONSENSUS_Handle *consensus,
168 * @param consensus handle to destroy 168 * @param consensus handle to destroy
169 */ 169 */
170void 170void
171GNUNET_CONSENSUS_destroy (struct GNUNET_CONSENSUS_Handle *consensus); 171GNUNET_CONSENSUS_destroy(struct GNUNET_CONSENSUS_Handle *consensus);
172 172
173 173
174#if 0 /* keep Emacsens' auto-indent happy */ 174#if 0 /* keep Emacsens' auto-indent happy */