diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-05-24 18:06:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-05-24 18:06:44 +0000 |
commit | 152cd13768915399f9e5137d78a2f75296a1b93e (patch) | |
tree | dd7c1b41a053991eb64d62746a900b4614ef940d /src/include/gnunet_secretsharing_service.h | |
parent | c0d549b6ab07a951380b807f1a1c1a767bfd5be0 (diff) | |
download | gnunet-152cd13768915399f9e5137d78a2f75296a1b93e.tar.gz gnunet-152cd13768915399f9e5137d78a2f75296a1b93e.zip |
-doxygen, some additional error checking
Diffstat (limited to 'src/include/gnunet_secretsharing_service.h')
-rw-r--r-- | src/include/gnunet_secretsharing_service.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_secretsharing_service.h b/src/include/gnunet_secretsharing_service.h index 3673ca0fe..98e270e84 100644 --- a/src/include/gnunet_secretsharing_service.h +++ b/src/include/gnunet_secretsharing_service.h | |||
@@ -187,7 +187,7 @@ typedef void (*GNUNET_SECRETSHARING_DecryptCallback) (void *cls, | |||
187 | * with the other peers. | 187 | * with the other peers. |
188 | * | 188 | * |
189 | * @param cfg configuration to use | 189 | * @param cfg configuration to use |
190 | * @param num_peers number of peers in 'peers' | 190 | * @param num_peers number of peers in @a peers |
191 | * @param peers array of peers that we will share secrets with, can optionally contain the local peer | 191 | * @param peers array of peers that we will share secrets with, can optionally contain the local peer |
192 | * @param session_id unique session id | 192 | * @param session_id unique session id |
193 | * @param start When should all peers be available for sharing the secret? | 193 | * @param start When should all peers be available for sharing the secret? |
@@ -196,7 +196,7 @@ typedef void (*GNUNET_SECRETSHARING_DecryptCallback) (void *cls, | |||
196 | * by underlying consensus sessions | 196 | * by underlying consensus sessions |
197 | * @param threshold minimum number of peers that must cooperate to decrypt a value | 197 | * @param threshold minimum number of peers that must cooperate to decrypt a value |
198 | * @param cb called when the secret has been established | 198 | * @param cb called when the secret has been established |
199 | * @param cls closure for cb | 199 | * @param cls closure for @a cb |
200 | */ | 200 | */ |
201 | struct GNUNET_SECRETSHARING_Session * | 201 | struct GNUNET_SECRETSHARING_Session * |
202 | GNUNET_SECRETSHARING_create_session (const struct GNUNET_CONFIGURATION_Handle *cfg, | 202 | GNUNET_SECRETSHARING_create_session (const struct GNUNET_CONFIGURATION_Handle *cfg, |
@@ -214,10 +214,10 @@ GNUNET_SECRETSHARING_create_session (const struct GNUNET_CONFIGURATION_Handle *c | |||
214 | * Destroy a secret sharing session. | 214 | * Destroy a secret sharing session. |
215 | * The secret ready callback will not be called. | 215 | * The secret ready callback will not be called. |
216 | * | 216 | * |
217 | * @param session session to destroy | 217 | * @param s session to destroy |
218 | */ | 218 | */ |
219 | void | 219 | void |
220 | GNUNET_SECRETSHARING_session_destroy (struct GNUNET_SECRETSHARING_Session *session); | 220 | GNUNET_SECRETSHARING_session_destroy (struct GNUNET_SECRETSHARING_Session *s); |
221 | 221 | ||
222 | 222 | ||
223 | /** | 223 | /** |
@@ -271,10 +271,10 @@ GNUNET_SECRETSHARING_decrypt (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
271 | * The decrypt_cb is not called anymore, but the calling | 271 | * The decrypt_cb is not called anymore, but the calling |
272 | * peer may already have irrevocably contributed his share for the decryption of the value. | 272 | * peer may already have irrevocably contributed his share for the decryption of the value. |
273 | * | 273 | * |
274 | * @param decryption_handle decryption to cancel | 274 | * @param dh to cancel |
275 | */ | 275 | */ |
276 | void | 276 | void |
277 | GNUNET_SECRETSHARING_decrypt_cancel (struct GNUNET_SECRETSHARING_DecryptionHandle *decryption_handle); | 277 | GNUNET_SECRETSHARING_decrypt_cancel (struct GNUNET_SECRETSHARING_DecryptionHandle *dh); |
278 | 278 | ||
279 | 279 | ||
280 | /** | 280 | /** |