aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dht_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_dht_service.h')
-rw-r--r--src/include/gnunet_dht_service.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h
index 1370e6bd9..3e59f2b6d 100644
--- a/src/include/gnunet_dht_service.h
+++ b/src/include/gnunet_dht_service.h
@@ -165,7 +165,7 @@ typedef void (*GNUNET_DHT_PutContinuation)(void *cls,
165 * (size too big) 165 * (size too big)
166 */ 166 */
167struct GNUNET_DHT_PutHandle * 167struct GNUNET_DHT_PutHandle *
168GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle, 168GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle,
169 const struct GNUNET_HashCode *key, 169 const struct GNUNET_HashCode *key,
170 uint32_t desired_replication_level, 170 uint32_t desired_replication_level,
171 enum GNUNET_DHT_RouteOption options, 171 enum GNUNET_DHT_RouteOption options,
@@ -182,7 +182,7 @@ GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle,
182 * go out over the network (we can't stop that); However, if the PUT 182 * go out over the network (we can't stop that); However, if the PUT
183 * has not yet been sent to the service, cancelling the PUT will stop 183 * has not yet been sent to the service, cancelling the PUT will stop
184 * this from happening (but there is no way for the user of this API 184 * this from happening (but there is no way for the user of this API
185 * to tell if that is the case). The only use for this API is to 185 * to tell if that is the case). The only use for this API is to
186 * prevent a later call to 'cont' from #GNUNET_DHT_put (i.e. because 186 * prevent a later call to 'cont' from #GNUNET_DHT_put (i.e. because
187 * the system is shutting down). 187 * the system is shutting down).
188 * 188 *
@@ -212,9 +212,9 @@ GNUNET_DHT_put_cancel (struct GNUNET_DHT_PutHandle *ph);
212typedef void (*GNUNET_DHT_GetIterator) (void *cls, 212typedef void (*GNUNET_DHT_GetIterator) (void *cls,
213 struct GNUNET_TIME_Absolute exp, 213 struct GNUNET_TIME_Absolute exp,
214 const struct GNUNET_HashCode *key, 214 const struct GNUNET_HashCode *key,
215 const struct GNUNET_PeerIdentity *get_path, 215 const struct GNUNET_PeerIdentity *get_path,
216 unsigned int get_path_length, 216 unsigned int get_path_length,
217 const struct GNUNET_PeerIdentity *put_path, 217 const struct GNUNET_PeerIdentity *put_path,
218 unsigned int put_path_length, 218 unsigned int put_path_length,
219 enum GNUNET_BLOCK_Type type, 219 enum GNUNET_BLOCK_Type type,
220 size_t size, const void *data); 220 size_t size, const void *data);
@@ -239,11 +239,11 @@ typedef void (*GNUNET_DHT_GetIterator) (void *cls,
239 */ 239 */
240struct GNUNET_DHT_GetHandle * 240struct GNUNET_DHT_GetHandle *
241GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle, 241GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle,
242 enum GNUNET_BLOCK_Type type, 242 enum GNUNET_BLOCK_Type type,
243 const struct GNUNET_HashCode *key, 243 const struct GNUNET_HashCode *key,
244 uint32_t desired_replication_level, 244 uint32_t desired_replication_level,
245 enum GNUNET_DHT_RouteOption options, 245 enum GNUNET_DHT_RouteOption options,
246 const void *xquery, size_t xquery_size, 246 const void *xquery, size_t xquery_size,
247 GNUNET_DHT_GetIterator iter, void *iter_cls); 247 GNUNET_DHT_GetIterator iter, void *iter_cls);
248 248
249 249
@@ -297,7 +297,7 @@ typedef void (*GNUNET_DHT_MonitorGetCB) (void *cls,
297 enum GNUNET_DHT_RouteOption options, 297 enum GNUNET_DHT_RouteOption options,
298 enum GNUNET_BLOCK_Type type, 298 enum GNUNET_BLOCK_Type type,
299 uint32_t hop_count, 299 uint32_t hop_count,
300 uint32_t desired_replication_level, 300 uint32_t desired_replication_level,
301 unsigned int path_length, 301 unsigned int path_length,
302 const struct GNUNET_PeerIdentity *path, 302 const struct GNUNET_PeerIdentity *path,
303 const struct GNUNET_HashCode * key); 303 const struct GNUNET_HashCode * key);
@@ -346,7 +346,7 @@ typedef void (*GNUNET_DHT_MonitorPutCB) (void *cls,
346 enum GNUNET_DHT_RouteOption options, 346 enum GNUNET_DHT_RouteOption options,
347 enum GNUNET_BLOCK_Type type, 347 enum GNUNET_BLOCK_Type type,
348 uint32_t hop_count, 348 uint32_t hop_count,
349 uint32_t desired_replication_level, 349 uint32_t desired_replication_level,
350 unsigned int path_length, 350 unsigned int path_length,
351 const struct GNUNET_PeerIdentity *path, 351 const struct GNUNET_PeerIdentity *path,
352 struct GNUNET_TIME_Absolute exp, 352 struct GNUNET_TIME_Absolute exp,