diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
commit | a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae (patch) | |
tree | b7768c5cb22e8a4f84d51cbd06dc04861fdb8510 /src/include/gnunet_psycstore_service.h | |
parent | 95d42fdcb47eedcf2747614a22dacd676bc7faae (diff) | |
download | gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.tar.gz gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.zip |
splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another for encryption
Diffstat (limited to 'src/include/gnunet_psycstore_service.h')
-rw-r--r-- | src/include/gnunet_psycstore_service.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h index fab2594df..4f8c6c6c0 100644 --- a/src/include/gnunet_psycstore_service.h +++ b/src/include/gnunet_psycstore_service.h | |||
@@ -133,8 +133,8 @@ typedef void | |||
133 | */ | 133 | */ |
134 | struct GNUNET_PSYCSTORE_OperationHandle * | 134 | struct GNUNET_PSYCSTORE_OperationHandle * |
135 | GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, | 135 | GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, |
136 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 136 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
137 | const struct GNUNET_CRYPTO_EccPublicKey *slave_key, | 137 | const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key, |
138 | int did_join, | 138 | int did_join, |
139 | uint64_t announced_at, | 139 | uint64_t announced_at, |
140 | uint64_t effective_since, | 140 | uint64_t effective_since, |
@@ -165,8 +165,8 @@ GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, | |||
165 | */ | 165 | */ |
166 | struct GNUNET_PSYCSTORE_OperationHandle * | 166 | struct GNUNET_PSYCSTORE_OperationHandle * |
167 | GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, | 167 | GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, |
168 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 168 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
169 | const struct GNUNET_CRYPTO_EccPublicKey *slave_key, | 169 | const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key, |
170 | uint64_t message_id, | 170 | uint64_t message_id, |
171 | uint64_t group_generation, | 171 | uint64_t group_generation, |
172 | GNUNET_PSYCSTORE_ResultCallback rcb, | 172 | GNUNET_PSYCSTORE_ResultCallback rcb, |
@@ -188,7 +188,7 @@ GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, | |||
188 | */ | 188 | */ |
189 | struct GNUNET_PSYCSTORE_OperationHandle * | 189 | struct GNUNET_PSYCSTORE_OperationHandle * |
190 | GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h, | 190 | GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h, |
191 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 191 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
192 | const struct GNUNET_MULTICAST_MessageHeader *message, | 192 | const struct GNUNET_MULTICAST_MessageHeader *message, |
193 | uint32_t psycstore_flags, | 193 | uint32_t psycstore_flags, |
194 | GNUNET_PSYCSTORE_ResultCallback rcb, | 194 | GNUNET_PSYCSTORE_ResultCallback rcb, |
@@ -226,7 +226,7 @@ typedef int | |||
226 | */ | 226 | */ |
227 | struct GNUNET_PSYCSTORE_OperationHandle * | 227 | struct GNUNET_PSYCSTORE_OperationHandle * |
228 | GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h, | 228 | GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h, |
229 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 229 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
230 | uint64_t fragment_id, | 230 | uint64_t fragment_id, |
231 | GNUNET_PSYCSTORE_FragmentCallback cb, | 231 | GNUNET_PSYCSTORE_FragmentCallback cb, |
232 | void *cb_cls); | 232 | void *cb_cls); |
@@ -245,7 +245,7 @@ GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
245 | */ | 245 | */ |
246 | struct GNUNET_PSYCSTORE_OperationHandle * | 246 | struct GNUNET_PSYCSTORE_OperationHandle * |
247 | GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, | 247 | GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, |
248 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 248 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
249 | uint64_t message_id, | 249 | uint64_t message_id, |
250 | GNUNET_PSYCSTORE_FragmentCallback cb, | 250 | GNUNET_PSYCSTORE_FragmentCallback cb, |
251 | void *cb_cls); | 251 | void *cb_cls); |
@@ -266,7 +266,7 @@ GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
266 | */ | 266 | */ |
267 | struct GNUNET_PSYCSTORE_OperationHandle * | 267 | struct GNUNET_PSYCSTORE_OperationHandle * |
268 | GNUNET_PSYCSTORE_message_get_fragment (struct GNUNET_PSYCSTORE_Handle *h, | 268 | GNUNET_PSYCSTORE_message_get_fragment (struct GNUNET_PSYCSTORE_Handle *h, |
269 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 269 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
270 | uint64_t message_id, | 270 | uint64_t message_id, |
271 | uint64_t fragment_offset, | 271 | uint64_t fragment_offset, |
272 | GNUNET_PSYCSTORE_FragmentCallback cb, | 272 | GNUNET_PSYCSTORE_FragmentCallback cb, |
@@ -319,7 +319,7 @@ typedef void | |||
319 | */ | 319 | */ |
320 | struct GNUNET_PSYCSTORE_OperationHandle * | 320 | struct GNUNET_PSYCSTORE_OperationHandle * |
321 | GNUNET_PSYCSTORE_counters_get_master (struct GNUNET_PSYCSTORE_Handle *h, | 321 | GNUNET_PSYCSTORE_counters_get_master (struct GNUNET_PSYCSTORE_Handle *h, |
322 | struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 322 | struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
323 | GNUNET_PSYCSTORE_MasterCountersCallback *cb, | 323 | GNUNET_PSYCSTORE_MasterCountersCallback *cb, |
324 | void *cb_cls); | 324 | void *cb_cls); |
325 | 325 | ||
@@ -339,7 +339,7 @@ GNUNET_PSYCSTORE_counters_get_master (struct GNUNET_PSYCSTORE_Handle *h, | |||
339 | */ | 339 | */ |
340 | struct GNUNET_PSYCSTORE_OperationHandle * | 340 | struct GNUNET_PSYCSTORE_OperationHandle * |
341 | GNUNET_PSYCSTORE_counters_get_slave (struct GNUNET_PSYCSTORE_Handle *h, | 341 | GNUNET_PSYCSTORE_counters_get_slave (struct GNUNET_PSYCSTORE_Handle *h, |
342 | struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 342 | struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
343 | GNUNET_PSYCSTORE_SlaveCountersCallback *cb, | 343 | GNUNET_PSYCSTORE_SlaveCountersCallback *cb, |
344 | void *cb_cls); | 344 | void *cb_cls); |
345 | 345 | ||
@@ -363,7 +363,7 @@ GNUNET_PSYCSTORE_counters_get_slave (struct GNUNET_PSYCSTORE_Handle *h, | |||
363 | */ | 363 | */ |
364 | struct GNUNET_PSYCSTORE_OperationHandle * | 364 | struct GNUNET_PSYCSTORE_OperationHandle * |
365 | GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h, | 365 | GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h, |
366 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 366 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
367 | uint64_t message_id, | 367 | uint64_t message_id, |
368 | uint64_t state_delta, | 368 | uint64_t state_delta, |
369 | size_t modifier_count, | 369 | size_t modifier_count, |
@@ -386,7 +386,7 @@ GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h, | |||
386 | */ | 386 | */ |
387 | struct GNUNET_PSYCSTORE_Handle * | 387 | struct GNUNET_PSYCSTORE_Handle * |
388 | GNUNET_PSYCSTORE_state_reset (struct GNUNET_PSYCSTORE_Handle *h, | 388 | GNUNET_PSYCSTORE_state_reset (struct GNUNET_PSYCSTORE_Handle *h, |
389 | const struct GNUNET_CRYPTO_EccPublicKey | 389 | const struct GNUNET_CRYPTO_EccPublicSignKey |
390 | *channel_key, | 390 | *channel_key, |
391 | GNUNET_PSYCSTORE_ResultCallback rcb, | 391 | GNUNET_PSYCSTORE_ResultCallback rcb, |
392 | void *rcb_cls); | 392 | void *rcb_cls); |
@@ -405,7 +405,7 @@ GNUNET_PSYCSTORE_state_reset (struct GNUNET_PSYCSTORE_Handle *h, | |||
405 | */ | 405 | */ |
406 | struct GNUNET_PSYCSTORE_OperationHandle * | 406 | struct GNUNET_PSYCSTORE_OperationHandle * |
407 | GNUNET_PSYCSTORE_state_hash_update (struct GNUNET_PSYCSTORE_Handle *h, | 407 | GNUNET_PSYCSTORE_state_hash_update (struct GNUNET_PSYCSTORE_Handle *h, |
408 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 408 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
409 | uint64_t message_id, | 409 | uint64_t message_id, |
410 | const struct GNUNET_HashCode *hash, | 410 | const struct GNUNET_HashCode *hash, |
411 | GNUNET_PSYCSTORE_ResultCallback rcb, | 411 | GNUNET_PSYCSTORE_ResultCallback rcb, |
@@ -444,7 +444,7 @@ typedef int | |||
444 | */ | 444 | */ |
445 | struct GNUNET_PSYCSTORE_OperationHandle * | 445 | struct GNUNET_PSYCSTORE_OperationHandle * |
446 | GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, | 446 | GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, |
447 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 447 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
448 | const char *name, | 448 | const char *name, |
449 | GNUNET_PSYCSTORE_StateCallback cb, | 449 | GNUNET_PSYCSTORE_StateCallback cb, |
450 | void *cb_cls); | 450 | void *cb_cls); |
@@ -463,7 +463,7 @@ GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
463 | */ | 463 | */ |
464 | struct GNUNET_PSYCSTORE_OperationHandle * | 464 | struct GNUNET_PSYCSTORE_OperationHandle * |
465 | GNUNET_PSYCSTORE_state_get_all (struct GNUNET_PSYCSTORE_Handle *h, | 465 | GNUNET_PSYCSTORE_state_get_all (struct GNUNET_PSYCSTORE_Handle *h, |
466 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 466 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
467 | const char *name_prefix, | 467 | const char *name_prefix, |
468 | GNUNET_PSYCSTORE_StateCallback cb, | 468 | GNUNET_PSYCSTORE_StateCallback cb, |
469 | void *cb_cls); | 469 | void *cb_cls); |