aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/scalarproduct_api.c
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2013-10-14 14:21:41 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2013-10-14 14:21:41 +0000
commitaf9252228fabc0b9bea2964fe395ec824c7abffa (patch)
tree1eb49d215a469246a837de97c57768950fae386b /src/scalarproduct/scalarproduct_api.c
parent41fe47de194f6d005eba16715804ca62ef18a0f1 (diff)
downloadgnunet-af9252228fabc0b9bea2964fe395ec824c7abffa.tar.gz
gnunet-af9252228fabc0b9bea2964fe395ec824c7abffa.zip
more doxygen compliance, should no longer generate warnings, except for one wired warning which is not in the sourcecode, will talk to christian grothoff about that
Diffstat (limited to 'src/scalarproduct/scalarproduct_api.c')
-rw-r--r--src/scalarproduct/scalarproduct_api.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/scalarproduct/scalarproduct_api.c b/src/scalarproduct/scalarproduct_api.c
index 96b176080..ad5fc1a54 100644
--- a/src/scalarproduct/scalarproduct_api.c
+++ b/src/scalarproduct/scalarproduct_api.c
@@ -318,14 +318,16 @@ transmit_request (void *cls, size_t size,
318 * @param element_count Number of elements in the vector 318 * @param element_count Number of elements in the vector
319 * @param cont Callback function 319 * @param cont Callback function
320 * @param cont_cls Closure for the callback function 320 * @param cont_cls Closure for the callback function
321 *
322 * @return a new handle for this computation
321 */ 323 */
322struct GNUNET_SCALARPRODUCT_ComputationHandle * 324struct GNUNET_SCALARPRODUCT_ComputationHandle *
323GNUNET_SCALARPRODUCT_response (const struct GNUNET_CONFIGURATION_Handle *cfg, 325GNUNET_SCALARPRODUCT_response (const struct GNUNET_CONFIGURATION_Handle * cfg,
324 const struct GNUNET_HashCode * key, 326 const struct GNUNET_HashCode * key,
325 const int32_t * elements, 327 const int32_t * elements,
326 uint32_t element_count, 328 uint32_t element_count,
327 GNUNET_SCALARPRODUCT_ContinuationWithStatus cont, 329 GNUNET_SCALARPRODUCT_ContinuationWithStatus cont,
328 void *cont_cls) 330 void * cont_cls)
329{ 331{
330 struct GNUNET_SCALARPRODUCT_ComputationHandle *h; 332 struct GNUNET_SCALARPRODUCT_ComputationHandle *h;
331 struct GNUNET_SCALARPRODUCT_client_request *msg; 333 struct GNUNET_SCALARPRODUCT_client_request *msg;
@@ -406,9 +408,11 @@ GNUNET_SCALARPRODUCT_response (const struct GNUNET_CONFIGURATION_Handle *cfg,
406 * @param mask_bytes number of bytes in the mask 408 * @param mask_bytes number of bytes in the mask
407 * @param cont Callback function 409 * @param cont Callback function
408 * @param cont_cls Closure for the callback function 410 * @param cont_cls Closure for the callback function
411 *
412 * @return a new handle for this computation
409 */ 413 */
410struct GNUNET_SCALARPRODUCT_ComputationHandle * 414struct GNUNET_SCALARPRODUCT_ComputationHandle *
411GNUNET_SCALARPRODUCT_request (const struct GNUNET_CONFIGURATION_Handle *cfg, 415GNUNET_SCALARPRODUCT_request (const struct GNUNET_CONFIGURATION_Handle * cfg,
412 const struct GNUNET_HashCode * key, 416 const struct GNUNET_HashCode * key,
413 const struct GNUNET_PeerIdentity *peer, 417 const struct GNUNET_PeerIdentity *peer,
414 const int32_t * elements, 418 const int32_t * elements,
@@ -416,7 +420,7 @@ GNUNET_SCALARPRODUCT_request (const struct GNUNET_CONFIGURATION_Handle *cfg,
416 const unsigned char * mask, 420 const unsigned char * mask,
417 uint32_t mask_bytes, 421 uint32_t mask_bytes,
418 GNUNET_SCALARPRODUCT_DatumProcessor cont, 422 GNUNET_SCALARPRODUCT_DatumProcessor cont,
419 void *cont_cls) 423 void * cont_cls)
420{ 424{
421 struct GNUNET_SCALARPRODUCT_ComputationHandle *h; 425 struct GNUNET_SCALARPRODUCT_ComputationHandle *h;
422 struct GNUNET_SCALARPRODUCT_client_request *msg; 426 struct GNUNET_SCALARPRODUCT_client_request *msg;