aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_container_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-28 21:46:31 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-28 21:46:31 +0000
commitc2884462a215b5154f7696d7b326f4b0c7c79978 (patch)
tree79bc0b291e4b8392f0df3fc539baa2c236c1865b /src/include/gnunet_container_lib.h
parentf382e72693736dc473d9d7ec4815614cdc835b43 (diff)
downloadgnunet-c2884462a215b5154f7696d7b326f4b0c7c79978.tar.gz
gnunet-c2884462a215b5154f7696d7b326f4b0c7c79978.zip
fixing types
Diffstat (limited to 'src/include/gnunet_container_lib.h')
-rw-r--r--src/include/gnunet_container_lib.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h
index 1f38dae57..bd4f9b032 100644
--- a/src/include/gnunet_container_lib.h
+++ b/src/include/gnunet_container_lib.h
@@ -70,15 +70,15 @@ typedef int (*GNUNET_HashCodeIterator) (void *cls,
70 * element (number of bits set per element in the set) 70 * element (number of bits set per element in the set)
71 * @return the bloomfilter 71 * @return the bloomfilter
72 */ 72 */
73struct GNUNET_CONTAINER_BloomFilter *GNUNET_CONTAINER_bloomfilter_load (const 73struct GNUNET_CONTAINER_BloomFilter *
74 char 74GNUNET_CONTAINER_bloomfilter_load (const
75 *filename, 75 char
76 unsigned 76 *filename,
77 int 77 size_t
78 size, 78 size,
79 unsigned 79 unsigned
80 int 80 int
81 k); 81 k);
82 82
83/** 83/**
84 * Create a bloom filter from raw bits. 84 * Create a bloom filter from raw bits.
@@ -93,15 +93,15 @@ struct GNUNET_CONTAINER_BloomFilter *GNUNET_CONTAINER_bloomfilter_load (const
93 * element (number of bits set per element in the set) 93 * element (number of bits set per element in the set)
94 * @return the bloomfilter 94 * @return the bloomfilter
95 */ 95 */
96struct GNUNET_CONTAINER_BloomFilter *GNUNET_CONTAINER_bloomfilter_init (const 96struct GNUNET_CONTAINER_BloomFilter *
97 char 97GNUNET_CONTAINER_bloomfilter_init (const
98 *data, 98 char
99 unsigned 99 *data,
100 int 100 size_t
101 size, 101 size,
102 unsigned 102 unsigned
103 int 103 int
104 k); 104 k);
105 105
106/** 106/**
107 * Copy the raw data of this bloomfilter into 107 * Copy the raw data of this bloomfilter into
@@ -114,7 +114,7 @@ struct GNUNET_CONTAINER_BloomFilter *GNUNET_CONTAINER_bloomfilter_init (const
114int GNUNET_CONTAINER_bloomfilter_get_raw_data (struct 114int GNUNET_CONTAINER_bloomfilter_get_raw_data (struct
115 GNUNET_CONTAINER_BloomFilter 115 GNUNET_CONTAINER_BloomFilter
116 *bf, char *data, 116 *bf, char *data,
117 unsigned int size); 117 size_t size);
118 118
119/** 119/**
120 * Test if an element is in the filter. 120 * Test if an element is in the filter.
@@ -169,7 +169,7 @@ void GNUNET_CONTAINER_bloomfilter_clear (struct GNUNET_CONTAINER_BloomFilter
169 * @return GNUNET_OK on success 169 * @return GNUNET_OK on success
170 */ 170 */
171int GNUNET_CONTAINER_bloomfilter_or (struct GNUNET_CONTAINER_BloomFilter *bf, 171int GNUNET_CONTAINER_bloomfilter_or (struct GNUNET_CONTAINER_BloomFilter *bf,
172 const char *data, unsigned int size); 172 const char *data, size_t size);
173 173
174/** 174/**
175 * Resize a bloom filter. Note that this operation 175 * Resize a bloom filter. Note that this operation
@@ -186,7 +186,7 @@ void GNUNET_CONTAINER_bloomfilter_resize (struct GNUNET_CONTAINER_BloomFilter
186 *bf, 186 *bf,
187 GNUNET_HashCodeIterator iterator, 187 GNUNET_HashCodeIterator iterator,
188 void *iterator_cls, 188 void *iterator_cls,
189 unsigned int size, unsigned int k); 189 size_t size, unsigned int k);
190 190
191/* ****************** metadata ******************* */ 191/* ****************** metadata ******************* */
192 192