aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_block_group_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_block_group_lib.h')
-rw-r--r--src/include/gnunet_block_group_lib.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/include/gnunet_block_group_lib.h b/src/include/gnunet_block_group_lib.h
index 777ef7dd6..91d193015 100644
--- a/src/include/gnunet_block_group_lib.h
+++ b/src/include/gnunet_block_group_lib.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @author Christian Grothoff 22 * @author Christian Grothoff
@@ -57,8 +57,8 @@ extern "C"
57 * @return must be a power of two and smaller or equal to 2^15. 57 * @return must be a power of two and smaller or equal to 2^15.
58 */ 58 */
59size_t 59size_t
60GNUNET_BLOCK_GROUP_compute_bloomfilter_size (unsigned int entry_count, 60GNUNET_BLOCK_GROUP_compute_bloomfilter_size(unsigned int entry_count,
61 unsigned int k); 61 unsigned int k);
62 62
63 63
64/** 64/**
@@ -75,13 +75,13 @@ GNUNET_BLOCK_GROUP_compute_bloomfilter_size (unsigned int entry_count,
75 * by this @a type of block (this is not an error) 75 * by this @a type of block (this is not an error)
76 */ 76 */
77struct GNUNET_BLOCK_Group * 77struct GNUNET_BLOCK_Group *
78GNUNET_BLOCK_GROUP_bf_create (void *cls, 78GNUNET_BLOCK_GROUP_bf_create(void *cls,
79 size_t bf_size, 79 size_t bf_size,
80 unsigned int bf_k, 80 unsigned int bf_k,
81 enum GNUNET_BLOCK_Type type, 81 enum GNUNET_BLOCK_Type type,
82 uint32_t nonce, 82 uint32_t nonce,
83 const void *raw_data, 83 const void *raw_data,
84 size_t raw_data_size); 84 size_t raw_data_size);
85 85
86 86
87/** 87/**
@@ -95,8 +95,8 @@ GNUNET_BLOCK_GROUP_bf_create (void *cls,
95 * #GNUNET_NO if @a hc was definitively not in @bg (but now is) 95 * #GNUNET_NO if @a hc was definitively not in @bg (but now is)
96 */ 96 */
97int 97int
98GNUNET_BLOCK_GROUP_bf_test_and_set (struct GNUNET_BLOCK_Group *bg, 98GNUNET_BLOCK_GROUP_bf_test_and_set(struct GNUNET_BLOCK_Group *bg,
99 const struct GNUNET_HashCode *hc); 99 const struct GNUNET_HashCode *hc);
100 100
101 101
102#if 0 /* keep Emacsens' auto-indent happy */ 102#if 0 /* keep Emacsens' auto-indent happy */