aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_scalarproduct_service.h
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/include/gnunet_scalarproduct_service.h
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/include/gnunet_scalarproduct_service.h')
-rw-r--r--src/include/gnunet_scalarproduct_service.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/include/gnunet_scalarproduct_service.h b/src/include/gnunet_scalarproduct_service.h
index 88b0a6586..1146db1e4 100644
--- a/src/include/gnunet_scalarproduct_service.h
+++ b/src/include/gnunet_scalarproduct_service.h
@@ -86,9 +86,11 @@ typedef void (*GNUNET_SCALARPRODUCT_DatumProcessor) (void *cls,
86 * @param mask_bytes number of bytes in the mask 86 * @param mask_bytes number of bytes in the mask
87 * @param cont Callback function 87 * @param cont Callback function
88 * @param cont_cls Closure for the callback function 88 * @param cont_cls Closure for the callback function
89 *
90 * @return a new handle for this computation
89 */ 91 */
90struct GNUNET_SCALARPRODUCT_ComputationHandle * 92struct GNUNET_SCALARPRODUCT_ComputationHandle *
91GNUNET_SCALARPRODUCT_request (const struct GNUNET_CONFIGURATION_Handle *cfg, 93GNUNET_SCALARPRODUCT_request (const struct GNUNET_CONFIGURATION_Handle * cfg,
92 const struct GNUNET_HashCode * key, 94 const struct GNUNET_HashCode * key,
93 const struct GNUNET_PeerIdentity *peer, 95 const struct GNUNET_PeerIdentity *peer,
94 const int32_t * elements, 96 const int32_t * elements,
@@ -96,7 +98,7 @@ GNUNET_SCALARPRODUCT_request (const struct GNUNET_CONFIGURATION_Handle *cfg,
96 const unsigned char * mask, 98 const unsigned char * mask,
97 uint32_t mask_bytes, 99 uint32_t mask_bytes,
98 GNUNET_SCALARPRODUCT_DatumProcessor cont, 100 GNUNET_SCALARPRODUCT_DatumProcessor cont,
99 void *cont_cls); 101 void * cont_cls);
100 102
101/** 103/**
102 * Used by Bob's client to cooperate with Alice, 104 * Used by Bob's client to cooperate with Alice,
@@ -107,14 +109,16 @@ GNUNET_SCALARPRODUCT_request (const struct GNUNET_CONFIGURATION_Handle *cfg,
107 * @param element_count Number of elements in the vector 109 * @param element_count Number of elements in the vector
108 * @param cont Callback function 110 * @param cont Callback function
109 * @param cont_cls Closure for the callback function 111 * @param cont_cls Closure for the callback function
112 *
113 * @return a new handle for this computation
110 */ 114 */
111struct GNUNET_SCALARPRODUCT_ComputationHandle * 115struct GNUNET_SCALARPRODUCT_ComputationHandle *
112GNUNET_SCALARPRODUCT_response (const struct GNUNET_CONFIGURATION_Handle *cfg, 116GNUNET_SCALARPRODUCT_response (const struct GNUNET_CONFIGURATION_Handle * cfg,
113 const struct GNUNET_HashCode * key, 117 const struct GNUNET_HashCode * key,
114 const int32_t * elements, 118 const int32_t * elements,
115 uint32_t element_count, 119 uint32_t element_count,
116 GNUNET_SCALARPRODUCT_ContinuationWithStatus cont, 120 GNUNET_SCALARPRODUCT_ContinuationWithStatus cont,
117 void *cont_cls); 121 void * cont_cls);
118/** 122/**
119 * Cancel an ongoing computation or revoke our collaboration offer. 123 * Cancel an ongoing computation or revoke our collaboration offer.
120 * Closes the connection to the service 124 * Closes the connection to the service