From 6da407ad72fdca282094ccdb5558ece9638e3bd3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 27 Feb 2017 01:18:54 +0100 Subject: include set size in result callback, needed by consensus --- src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c') diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c index 8a5b3a5b2..3851ca763 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c +++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c @@ -580,11 +580,13 @@ handle_alices_cryptodata_message (void *cls, * * @param cls closure with the `struct BobServiceSession` * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK + * @param current_size current set size * @param status what has happened with the set intersection? */ static void cb_intersection_element_removed (void *cls, const struct GNUNET_SET_Element *element, + uint64_t current_size, enum GNUNET_SET_Status status) { struct BobServiceSession *s = cls; -- cgit v1.2.3