aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/datastore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/datastore_api.c')
-rw-r--r--src/datastore/datastore_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index 57663e99e..3bf8ecd94 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -836,7 +836,7 @@ process_status_message (void *cls, const struct GNUNET_MessageHeader *msg)
836 */ 836 */
837struct GNUNET_DATASTORE_QueueEntry * 837struct GNUNET_DATASTORE_QueueEntry *
838GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h, uint32_t rid, 838GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h, uint32_t rid,
839 const GNUNET_HashCode * key, size_t size, 839 const struct GNUNET_HashCode * key, size_t size,
840 const void *data, enum GNUNET_BLOCK_Type type, 840 const void *data, enum GNUNET_BLOCK_Type type,
841 uint32_t priority, uint32_t anonymity, 841 uint32_t priority, uint32_t anonymity,
842 uint32_t replication, 842 uint32_t replication,
@@ -1087,7 +1087,7 @@ GNUNET_DATASTORE_update (struct GNUNET_DATASTORE_Handle *h, uint64_t uid,
1087 */ 1087 */
1088struct GNUNET_DATASTORE_QueueEntry * 1088struct GNUNET_DATASTORE_QueueEntry *
1089GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h, 1089GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h,
1090 const GNUNET_HashCode * key, size_t size, 1090 const struct GNUNET_HashCode * key, size_t size,
1091 const void *data, unsigned int queue_priority, 1091 const void *data, unsigned int queue_priority,
1092 unsigned int max_queue_size, 1092 unsigned int max_queue_size,
1093 struct GNUNET_TIME_Relative timeout, 1093 struct GNUNET_TIME_Relative timeout,
@@ -1381,7 +1381,7 @@ GNUNET_DATASTORE_get_zero_anonymity (struct GNUNET_DATASTORE_Handle *h,
1381 */ 1381 */
1382struct GNUNET_DATASTORE_QueueEntry * 1382struct GNUNET_DATASTORE_QueueEntry *
1383GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h, uint64_t offset, 1383GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h, uint64_t offset,
1384 const GNUNET_HashCode * key, 1384 const struct GNUNET_HashCode * key,
1385 enum GNUNET_BLOCK_Type type, 1385 enum GNUNET_BLOCK_Type type,
1386 unsigned int queue_priority, 1386 unsigned int queue_priority,
1387 unsigned int max_queue_size, 1387 unsigned int max_queue_size,
@@ -1420,7 +1420,7 @@ GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h, uint64_t offset,
1420 else 1420 else
1421 { 1421 {
1422 gm->header.size = 1422 gm->header.size =
1423 htons (sizeof (struct GetMessage) - sizeof (GNUNET_HashCode)); 1423 htons (sizeof (struct GetMessage) - sizeof (struct GNUNET_HashCode));
1424 } 1424 }
1425 process_queue (h); 1425 process_queue (h);
1426 return qe; 1426 return qe;