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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h
index 6606acb7d..83774826e 100644
--- a/src/include/gnunet_dht_service.h
+++ b/src/include/gnunet_dht_service.h
@@ -163,7 +163,7 @@ typedef void (*GNUNET_DHT_PutContinuation)(void *cls,
163 * (size too big) 163 * (size too big)
164 */ 164 */
165struct GNUNET_DHT_PutHandle * 165struct GNUNET_DHT_PutHandle *
166GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle, const GNUNET_HashCode * key, 166GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle, const struct GNUNET_HashCode * key,
167 uint32_t desired_replication_level, 167 uint32_t desired_replication_level,
168 enum GNUNET_DHT_RouteOption options, 168 enum GNUNET_DHT_RouteOption options,
169 enum GNUNET_BLOCK_Type type, size_t size, const char *data, 169 enum GNUNET_BLOCK_Type type, size_t size, const char *data,
@@ -205,7 +205,7 @@ GNUNET_DHT_put_cancel (struct GNUNET_DHT_PutHandle *ph);
205 */ 205 */
206typedef void (*GNUNET_DHT_GetIterator) (void *cls, 206typedef void (*GNUNET_DHT_GetIterator) (void *cls,
207 struct GNUNET_TIME_Absolute exp, 207 struct GNUNET_TIME_Absolute exp,
208 const GNUNET_HashCode * key, 208 const struct GNUNET_HashCode * key,
209 const struct GNUNET_PeerIdentity * 209 const struct GNUNET_PeerIdentity *
210 get_path, unsigned int get_path_length, 210 get_path, unsigned int get_path_length,
211 const struct GNUNET_PeerIdentity * 211 const struct GNUNET_PeerIdentity *
@@ -234,7 +234,7 @@ typedef void (*GNUNET_DHT_GetIterator) (void *cls,
234 */ 234 */
235struct GNUNET_DHT_GetHandle * 235struct GNUNET_DHT_GetHandle *
236GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle, 236GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle,
237 enum GNUNET_BLOCK_Type type, const GNUNET_HashCode * key, 237 enum GNUNET_BLOCK_Type type, const struct GNUNET_HashCode * key,
238 uint32_t desired_replication_level, 238 uint32_t desired_replication_level,
239 enum GNUNET_DHT_RouteOption options, const void *xquery, 239 enum GNUNET_DHT_RouteOption options, const void *xquery,
240 size_t xquery_size, GNUNET_DHT_GetIterator iter, 240 size_t xquery_size, GNUNET_DHT_GetIterator iter,
@@ -279,7 +279,7 @@ typedef void (*GNUNET_DHT_MonitorGetCB) (void *cls,
279 uint32_t desired_replication_level, 279 uint32_t desired_replication_level,
280 unsigned int path_length, 280 unsigned int path_length,
281 const struct GNUNET_PeerIdentity *path, 281 const struct GNUNET_PeerIdentity *path,
282 const GNUNET_HashCode * key); 282 const struct GNUNET_HashCode * key);
283 283
284/** 284/**
285 * Callback called on each GET reply going through the DHT. 285 * Callback called on each GET reply going through the DHT.
@@ -304,7 +304,7 @@ typedef void (*GNUNET_DHT_MonitorGetRespCB) (void *cls,
304 * put_path, 304 * put_path,
305 unsigned int put_path_length, 305 unsigned int put_path_length,
306 struct GNUNET_TIME_Absolute exp, 306 struct GNUNET_TIME_Absolute exp,
307 const GNUNET_HashCode * key, 307 const struct GNUNET_HashCode * key,
308 const void *data, 308 const void *data,
309 size_t size); 309 size_t size);
310 310
@@ -331,7 +331,7 @@ typedef void (*GNUNET_DHT_MonitorPutCB) (void *cls,
331 unsigned int path_length, 331 unsigned int path_length,
332 const struct GNUNET_PeerIdentity *path, 332 const struct GNUNET_PeerIdentity *path,
333 struct GNUNET_TIME_Absolute exp, 333 struct GNUNET_TIME_Absolute exp,
334 const GNUNET_HashCode * key, 334 const struct GNUNET_HashCode * key,
335 const void *data, 335 const void *data,
336 size_t size); 336 size_t size);
337 337
@@ -351,7 +351,7 @@ typedef void (*GNUNET_DHT_MonitorPutCB) (void *cls,
351struct GNUNET_DHT_MonitorHandle * 351struct GNUNET_DHT_MonitorHandle *
352GNUNET_DHT_monitor_start (struct GNUNET_DHT_Handle *handle, 352GNUNET_DHT_monitor_start (struct GNUNET_DHT_Handle *handle,
353 enum GNUNET_BLOCK_Type type, 353 enum GNUNET_BLOCK_Type type,
354 const GNUNET_HashCode *key, 354 const struct GNUNET_HashCode *key,
355 GNUNET_DHT_MonitorGetCB get_cb, 355 GNUNET_DHT_MonitorGetCB get_cb,
356 GNUNET_DHT_MonitorGetRespCB get_resp_cb, 356 GNUNET_DHT_MonitorGetRespCB get_resp_cb,
357 GNUNET_DHT_MonitorPutCB put_cb, 357 GNUNET_DHT_MonitorPutCB put_cb,