aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datastore_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-06 11:44:29 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-06 11:44:29 +0000
commitb8da6057b2c0c66931ccde9b4bba418fc5222724 (patch)
tree1e858619686d7e2d38655f9f24bdc64e3e4e8462 /src/include/gnunet_datastore_service.h
parent7d2cbe5bd19ec95ada5a28a0134185ef29007b69 (diff)
downloadgnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.tar.gz
gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.zip
use size_t
Diffstat (limited to 'src/include/gnunet_datastore_service.h')
-rw-r--r--src/include/gnunet_datastore_service.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/gnunet_datastore_service.h b/src/include/gnunet_datastore_service.h
index 55ee111a9..c41d21058 100644
--- a/src/include/gnunet_datastore_service.h
+++ b/src/include/gnunet_datastore_service.h
@@ -153,7 +153,7 @@ struct GNUNET_DATASTORE_QueueEntry *
153GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h, 153GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h,
154 int rid, 154 int rid,
155 const GNUNET_HashCode * key, 155 const GNUNET_HashCode * key,
156 uint32_t size, 156 size_t size,
157 const void *data, 157 const void *data,
158 enum GNUNET_BLOCK_Type type, 158 enum GNUNET_BLOCK_Type type,
159 uint32_t priority, 159 uint32_t priority,
@@ -250,7 +250,7 @@ GNUNET_DATASTORE_update (struct GNUNET_DATASTORE_Handle *h,
250struct GNUNET_DATASTORE_QueueEntry * 250struct GNUNET_DATASTORE_QueueEntry *
251GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h, 251GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h,
252 const GNUNET_HashCode *key, 252 const GNUNET_HashCode *key,
253 uint32_t size, 253 size_t size,
254 const void *data, 254 const void *data,
255 unsigned int queue_priority, 255 unsigned int queue_priority,
256 unsigned int max_queue_size, 256 unsigned int max_queue_size,
@@ -275,7 +275,7 @@ GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h,
275 */ 275 */
276typedef void (*GNUNET_DATASTORE_Iterator) (void *cls, 276typedef void (*GNUNET_DATASTORE_Iterator) (void *cls,
277 const GNUNET_HashCode * key, 277 const GNUNET_HashCode * key,
278 uint32_t size, 278 size_t size,
279 const void *data, 279 const void *data,
280 enum GNUNET_BLOCK_Type type, 280 enum GNUNET_BLOCK_Type type,
281 uint32_t priority, 281 uint32_t priority,
@@ -353,6 +353,7 @@ GNUNET_DATASTORE_get_random (struct GNUNET_DATASTORE_Handle *h,
353 GNUNET_DATASTORE_Iterator iter, 353 GNUNET_DATASTORE_Iterator iter,
354 void *iter_cls); 354 void *iter_cls);
355 355
356
356/** 357/**
357 * Cancel a datastore operation. The final callback from the 358 * Cancel a datastore operation. The final callback from the
358 * operation must not have been done yet. 359 * operation must not have been done yet.