aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psycstore_service.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2013-07-23 05:38:25 +0000
committerGabor X Toth <*@tg-x.net>2013-07-23 05:38:25 +0000
commit67c5a441c686b5242f096a68cd58a77df3f36942 (patch)
tree1461041d5f2ab84e93b68052c44bbb2ed26ee382 /src/include/gnunet_psycstore_service.h
parente04eeb1369916a25d3277d774203d4bfa9adb564 (diff)
downloadgnunet-67c5a441c686b5242f096a68cd58a77df3f36942.tar.gz
gnunet-67c5a441c686b5242f096a68cd58a77df3f36942.zip
untabify
Diffstat (limited to 'src/include/gnunet_psycstore_service.h')
-rw-r--r--src/include/gnunet_psycstore_service.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h
index eb5bc049e..e074c6bf6 100644
--- a/src/include/gnunet_psycstore_service.h
+++ b/src/include/gnunet_psycstore_service.h
@@ -82,7 +82,7 @@ struct GNUNET_PSYCSTORE_OperationHandle;
82 * #GNUNET_NO if the peer was not a member 82 * #GNUNET_NO if the peer was not a member
83 */ 83 */
84typedef void (*GNUNET_PSYCSTORE_ContinuationCallback)(void *cls, 84typedef void (*GNUNET_PSYCSTORE_ContinuationCallback)(void *cls,
85 int result); 85 int result);
86 86
87/** 87/**
88 * Store join/leave events for a PSYC channel in order to be able to answer 88 * Store join/leave events for a PSYC channel in order to be able to answer
@@ -126,11 +126,11 @@ GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h,
126 */ 126 */
127struct GNUNET_PSYCSTORE_OperationHandle * 127struct GNUNET_PSYCSTORE_OperationHandle *
128GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, 128GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h,
129 const struct GNUNET_HashCode *channel_id, 129 const struct GNUNET_HashCode *channel_id,
130 uint64_t fragment_id, 130 uint64_t fragment_id,
131 const struct GNUNET_PeerIdentity *peer, 131 const struct GNUNET_PeerIdentity *peer,
132 GNUNET_PSYCSTORE_ContinuationCallback ccb, 132 GNUNET_PSYCSTORE_ContinuationCallback ccb,
133 void *ccb_cls); 133 void *ccb_cls);
134 134
135 135
136/** 136/**
@@ -161,7 +161,7 @@ GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h,
161 * @param flags Message flags indicating fragmentation status. 161 * @param flags Message flags indicating fragmentation status.
162 */ 162 */
163typedef void (*GNUNET_PSYCSTORE_FragmentResultCallback)(void *cls, 163typedef void (*GNUNET_PSYCSTORE_FragmentResultCallback)(void *cls,
164 const struct GNUNET_MULTICAST_MessageHeader *message, 164 const struct GNUNET_MULTICAST_MessageHeader *message,
165 enum GNUNET_PSYC_MessageFlags flags); 165 enum GNUNET_PSYC_MessageFlags flags);
166 166
167 167
@@ -197,10 +197,10 @@ GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h,
197 */ 197 */
198struct GNUNET_PSYCSTORE_OperationHandle * 198struct GNUNET_PSYCSTORE_OperationHandle *
199GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, 199GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h,
200 const struct GNUNET_HashCode *channel_id, 200 const struct GNUNET_HashCode *channel_id,
201 uint64_t message_id, 201 uint64_t message_id,
202 GNUNET_PSYCSTORE_FragmentResultCallback rcb, 202 GNUNET_PSYCSTORE_FragmentResultCallback rcb,
203 void *rcb_cls); 203 void *rcb_cls);
204 204
205 205
206/** 206/**
@@ -218,12 +218,12 @@ GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h,
218 */ 218 */
219struct GNUNET_PSYCSTORE_OperationHandle * 219struct GNUNET_PSYCSTORE_OperationHandle *
220GNUNET_PSYCSTORE_state_set (struct GNUNET_PSYCSTORE_Handle *h, 220GNUNET_PSYCSTORE_state_set (struct GNUNET_PSYCSTORE_Handle *h,
221 const struct GNUNET_HashCode *channel_id, 221 const struct GNUNET_HashCode *channel_id,
222 const char *name, 222 const char *name,
223 size_t value_size, 223 size_t value_size,
224 const void *value, 224 const void *value,
225 GNUNET_PSYCSTORE_ContinuationCallback ccb, 225 GNUNET_PSYCSTORE_ContinuationCallback ccb,
226 void *ccb_cls); 226 void *ccb_cls);
227 227
228 228
229/** 229/**
@@ -236,9 +236,9 @@ GNUNET_PSYCSTORE_state_set (struct GNUNET_PSYCSTORE_Handle *h,
236t * 236t *
237 */ 237 */
238typedef void (*GNUNET_PSYCSTORE_StateResultCallback)(void *cls, 238typedef void (*GNUNET_PSYCSTORE_StateResultCallback)(void *cls,
239 const char *name, 239 const char *name,
240 size_t size, 240 size_t size,
241 const void *value); 241 const void *value);
242 242
243 243
244/** 244/**
@@ -254,10 +254,10 @@ typedef void (*GNUNET_PSYCSTORE_StateResultCallback)(void *cls,
254 */ 254 */
255struct GNUNET_PSYCSTORE_OperationHandle * 255struct GNUNET_PSYCSTORE_OperationHandle *
256GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, 256GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h,
257 const struct GNUNET_HashCode *channel_id, 257 const struct GNUNET_HashCode *channel_id,
258 const char *name, 258 const char *name,
259 GNUNET_PSYCSTORE_StateResultCallback rcb, 259 GNUNET_PSYCSTORE_StateResultCallback rcb,
260 void *rcb_cls); 260 void *rcb_cls);
261 261
262 262
263/** 263/**
@@ -272,9 +272,9 @@ GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h,
272 */ 272 */
273struct GNUNET_PSYCSTORE_OperationHandle * 273struct GNUNET_PSYCSTORE_OperationHandle *
274GNUNET_PSYCSTORE_state_get_all (struct GNUNET_PSYCSTORE_Handle *h, 274GNUNET_PSYCSTORE_state_get_all (struct GNUNET_PSYCSTORE_Handle *h,
275 const struct GNUNET_HashCode *channel_id, 275 const struct GNUNET_HashCode *channel_id,
276 GNUNET_PSYCSTORE_StateResultCallback rcb, 276 GNUNET_PSYCSTORE_StateResultCallback rcb,
277 void *rcb_cls); 277 void *rcb_cls);
278 278
279 279
280/** 280/**