aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datastore_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
commit6c471eeb15e27f8226492b4860a3c2acb94c5f25 (patch)
treea3a9dcba12ee5356c03056c10b7aba5367b2ef34 /src/include/gnunet_datastore_service.h
parent16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff)
downloadgnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz
gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/include/gnunet_datastore_service.h')
-rw-r--r--src/include/gnunet_datastore_service.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_datastore_service.h b/src/include/gnunet_datastore_service.h
index 29508329d..721963bdd 100644
--- a/src/include/gnunet_datastore_service.h
+++ b/src/include/gnunet_datastore_service.h
@@ -153,7 +153,7 @@ GNUNET_DATASTORE_reserve (struct GNUNET_DATASTORE_Handle *h, uint64_t amount,
153 */ 153 */
154struct GNUNET_DATASTORE_QueueEntry * 154struct GNUNET_DATASTORE_QueueEntry *
155GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h, uint32_t rid, 155GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h, uint32_t rid,
156 const GNUNET_HashCode * key, size_t size, 156 const struct GNUNET_HashCode * key, size_t size,
157 const void *data, enum GNUNET_BLOCK_Type type, 157 const void *data, enum GNUNET_BLOCK_Type type,
158 uint32_t priority, uint32_t anonymity, 158 uint32_t priority, uint32_t anonymity,
159 uint32_t replication, 159 uint32_t replication,
@@ -245,7 +245,7 @@ GNUNET_DATASTORE_update (struct GNUNET_DATASTORE_Handle *h, uint64_t uid,
245 */ 245 */
246struct GNUNET_DATASTORE_QueueEntry * 246struct GNUNET_DATASTORE_QueueEntry *
247GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h, 247GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h,
248 const GNUNET_HashCode * key, size_t size, 248 const struct GNUNET_HashCode * key, size_t size,
249 const void *data, unsigned int queue_priority, 249 const void *data, unsigned int queue_priority,
250 unsigned int max_queue_size, 250 unsigned int max_queue_size,
251 struct GNUNET_TIME_Relative timeout, 251 struct GNUNET_TIME_Relative timeout,
@@ -268,7 +268,7 @@ GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h,
268 * maybe 0 if no unique identifier is available 268 * maybe 0 if no unique identifier is available
269 */ 269 */
270typedef void (*GNUNET_DATASTORE_DatumProcessor) (void *cls, 270typedef void (*GNUNET_DATASTORE_DatumProcessor) (void *cls,
271 const GNUNET_HashCode * key, 271 const struct GNUNET_HashCode * key,
272 size_t size, const void *data, 272 size_t size, const void *data,
273 enum GNUNET_BLOCK_Type type, 273 enum GNUNET_BLOCK_Type type,
274 uint32_t priority, 274 uint32_t priority,
@@ -300,7 +300,7 @@ typedef void (*GNUNET_DATASTORE_DatumProcessor) (void *cls,
300 */ 300 */
301struct GNUNET_DATASTORE_QueueEntry * 301struct GNUNET_DATASTORE_QueueEntry *
302GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h, uint64_t offset, 302GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h, uint64_t offset,
303 const GNUNET_HashCode * key, 303 const struct GNUNET_HashCode * key,
304 enum GNUNET_BLOCK_Type type, 304 enum GNUNET_BLOCK_Type type,
305 unsigned int queue_priority, 305 unsigned int queue_priority,
306 unsigned int max_queue_size, 306 unsigned int max_queue_size,