aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datastore_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-03 09:30:12 +0000
committerChristian Grothoff <christian@grothoff.org>2015-08-03 09:30:12 +0000
commitec69ceabc67a72373a2579d871c5fe85676a73bd (patch)
tree1d480e5bc141990f62eb3938c54e3cf9ca44cacb /src/include/gnunet_datastore_service.h
parent1b672e435a8fc1239bede438003e1c573329783d (diff)
downloadgnunet-ec69ceabc67a72373a2579d871c5fe85676a73bd.tar.gz
gnunet-ec69ceabc67a72373a2579d871c5fe85676a73bd.zip
-fix indentation
Diffstat (limited to 'src/include/gnunet_datastore_service.h')
-rw-r--r--src/include/gnunet_datastore_service.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/include/gnunet_datastore_service.h b/src/include/gnunet_datastore_service.h
index 2e70392d3..14ffb1740 100644
--- a/src/include/gnunet_datastore_service.h
+++ b/src/include/gnunet_datastore_service.h
@@ -92,10 +92,11 @@ GNUNET_DATASTORE_disconnect (struct GNUNET_DATASTORE_Handle *h,
92 * space for 0-priority content 92 * space for 0-priority content
93 * @param msg NULL on success, otherwise an error message 93 * @param msg NULL on success, otherwise an error message
94 */ 94 */
95typedef void (*GNUNET_DATASTORE_ContinuationWithStatus) (void *cls, 95typedef void
96 int32_t success, 96(*GNUNET_DATASTORE_ContinuationWithStatus) (void *cls,
97 struct GNUNET_TIME_Absolute min_expiration, 97 int32_t success,
98 const char *msg); 98 struct GNUNET_TIME_Absolute min_expiration,
99 const char *msg);
99 100
100 101
101/** 102/**
@@ -148,13 +149,18 @@ GNUNET_DATASTORE_reserve (struct GNUNET_DATASTORE_Handle *h,
148 * (or rather, will already have been invoked) 149 * (or rather, will already have been invoked)
149 */ 150 */
150struct GNUNET_DATASTORE_QueueEntry * 151struct GNUNET_DATASTORE_QueueEntry *
151GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h, uint32_t rid, 152GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h,
152 const struct GNUNET_HashCode *key, size_t size, 153 uint32_t rid,
153 const void *data, enum GNUNET_BLOCK_Type type, 154 const struct GNUNET_HashCode *key,
154 uint32_t priority, uint32_t anonymity, 155 size_t size,
156 const void *data,
157 enum GNUNET_BLOCK_Type type,
158 uint32_t priority,
159 uint32_t anonymity,
155 uint32_t replication, 160 uint32_t replication,
156 struct GNUNET_TIME_Absolute expiration, 161 struct GNUNET_TIME_Absolute expiration,
157 unsigned int queue_priority, unsigned int max_queue_size, 162 unsigned int queue_priority,
163 unsigned int max_queue_size,
158 struct GNUNET_TIME_Relative timeout, 164 struct GNUNET_TIME_Relative timeout,
159 GNUNET_DATASTORE_ContinuationWithStatus cont, 165 GNUNET_DATASTORE_ContinuationWithStatus cont,
160 void *cont_cls); 166 void *cont_cls);