GNUnet  0.10.x
gnunet-service-set_intersection.h
Go to the documentation of this file.
1 
2 /*
3  This file is part of GNUnet
4  Copyright (C) 2013-2017 GNUnet e.V.
5 
6  GNUnet is free software: you can redistribute it and/or modify it
7  under the terms of the GNU Affero General Public License as published
8  by the Free Software Foundation, either version 3 of the License,
9  or (at your option) any later version.
10 
11  GNUnet is distributed in the hope that it will be useful, but
12  WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Affero General Public License for more details.
15 
16  You should have received a copy of the GNU Affero General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19  SPDX-License-Identifier: AGPL3.0-or-later
20  */
27 #ifndef GNUNET_SERVICE_SET_INTERSECTION_H
28 #define GNUNET_SERVICE_SET_INTERSECTION_H
29 
30 #include "gnunet-service-set.h"
31 
32 
40 int
42  const struct BFMessage *msg);
43 
44 
51 void
53  const struct BFMessage *msg);
54 
55 
63 void
65  const struct IntersectionElementInfoMessage *msg);
66 
67 
74 void
76  const struct IntersectionDoneMessage *idm);
77 
78 
79 #endif
void handle_intersection_p2p_done(void *cls, const struct IntersectionDoneMessage *idm)
Handle a done message from a remote peer.
struct GNUNET_MessageHeader * msg
Definition: 005.c:2
int check_intersection_p2p_bf(void *cls, const struct BFMessage *msg)
Check an BF message from a remote peer.
void handle_intersection_p2p_bf(void *cls, const struct BFMessage *msg)
Handle an BF message from a remote peer.
Bloom filter messages exchanged for set intersection calculation.
void handle_intersection_p2p_element_info(void *cls, const struct IntersectionElementInfoMessage *msg)
Handle the initial struct IntersectionElementInfoMessage from a remote peer.
During intersection, the first (and possibly second) message send it the number of elements in the se...
common components for the implementation the different set operations
Last message, send to confirm the final set.