aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_revocation_service.h4
-rw-r--r--src/include/gnunet_set_service.h10
2 files changed, 8 insertions, 6 deletions
diff --git a/src/include/gnunet_revocation_service.h b/src/include/gnunet_revocation_service.h
index 7176abb7a..0cbe0ea14 100644
--- a/src/include/gnunet_revocation_service.h
+++ b/src/include/gnunet_revocation_service.h
@@ -129,11 +129,13 @@ GNUNET_REVOCATION_revoke_cancel (struct GNUNET_REVOCATION_Handle *h);
129 * 129 *
130 * @param key key to check for 130 * @param key key to check for
131 * @param pow proof of work value 131 * @param pow proof of work value
132 * @param matching_bits how many bits must match (configuration)
132 * @return #GNUNET_YES if the @a pow is acceptable, #GNUNET_NO if not 133 * @return #GNUNET_YES if the @a pow is acceptable, #GNUNET_NO if not
133 */ 134 */
134int 135int
135GNUNET_REVOCATION_check_pow (const struct GNUNET_CRYPTO_EccPublicSignKey *key, 136GNUNET_REVOCATION_check_pow (const struct GNUNET_CRYPTO_EccPublicSignKey *key,
136 uint64_t pow); 137 uint64_t pow,
138 unsigned int matching_bits);
137 139
138 140
139/** 141/**
diff --git a/src/include/gnunet_set_service.h b/src/include/gnunet_set_service.h
index da6ba1301..b78e1850a 100644
--- a/src/include/gnunet_set_service.h
+++ b/src/include/gnunet_set_service.h
@@ -248,8 +248,8 @@ GNUNET_SET_create (const struct GNUNET_CONFIGURATION_Handle *cfg,
248 * @param set set to add element to 248 * @param set set to add element to
249 * @param element element to add to the set 249 * @param element element to add to the set
250 * @param cont continuation called after the element has been added 250 * @param cont continuation called after the element has been added
251 * @param cont_cls closure for cont 251 * @param cont_cls closure for @a cont
252 * @return GNUNET_OK on success, GNUNET_SYSERR if the 252 * @return #GNUNET_OK on success, #GNUNET_SYSERR if the
253 * set is invalid (e.g. the set service crashed) 253 * set is invalid (e.g. the set service crashed)
254 */ 254 */
255int 255int
@@ -268,8 +268,8 @@ GNUNET_SET_add_element (struct GNUNET_SET_Handle *set,
268 * @param set set to remove element from 268 * @param set set to remove element from
269 * @param element element to remove from the set 269 * @param element element to remove from the set
270 * @param cont continuation called after the element has been removed 270 * @param cont continuation called after the element has been removed
271 * @param cont_cls closure for cont 271 * @param cont_cls closure for @a cont
272 * @return GNUNET_OK on success, GNUNET_SYSERR if the 272 * @return #GNUNET_OK on success, #GNUNET_SYSERR if the
273 * set is invalid (e.g. the set service crashed) 273 * set is invalid (e.g. the set service crashed)
274 */ 274 */
275int 275int
@@ -300,7 +300,7 @@ GNUNET_SET_destroy (struct GNUNET_SET_Handle *set);
300 * @param result_mode specified how results will be returned, 300 * @param result_mode specified how results will be returned,
301 * see 'GNUNET_SET_ResultMode'. 301 * see 'GNUNET_SET_ResultMode'.
302 * @param result_cb called on error or success 302 * @param result_cb called on error or success
303 * @param result_cls closure for result_cb 303 * @param result_cls closure for @a result_cb
304 * @return a handle to cancel the operation 304 * @return a handle to cancel the operation
305 */ 305 */
306struct GNUNET_SET_OperationHandle * 306struct GNUNET_SET_OperationHandle *