aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psycstore_service.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2014-07-10 17:49:53 +0000
committerGabor X Toth <*@tg-x.net>2014-07-10 17:49:53 +0000
commita8133f3ff80aaaccc904e4bbaf69bc53dee499cb (patch)
treec10edd7a8156280c61357ccf9e0f1f27c7a0d6db /src/include/gnunet_psycstore_service.h
parent6c75526e936fcc74ee79b13831b2b6dda57f293d (diff)
downloadgnunet-a8133f3ff80aaaccc904e4bbaf69bc53dee499cb.tar.gz
gnunet-a8133f3ff80aaaccc904e4bbaf69bc53dee499cb.zip
PSYC(store), Multicast: use ECDSA slave/member keys; PSYC: add GNUNET_PSYC_message_create()
Diffstat (limited to 'src/include/gnunet_psycstore_service.h')
-rw-r--r--src/include/gnunet_psycstore_service.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h
index 29d7ff1ec..20af9f3d3 100644
--- a/src/include/gnunet_psycstore_service.h
+++ b/src/include/gnunet_psycstore_service.h
@@ -134,7 +134,7 @@ typedef void
134struct GNUNET_PSYCSTORE_OperationHandle * 134struct GNUNET_PSYCSTORE_OperationHandle *
135GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, 135GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h,
136 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, 136 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
137 const struct GNUNET_CRYPTO_EddsaPublicKey *slave_key, 137 const struct GNUNET_CRYPTO_EcdsaPublicKey *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,
@@ -158,6 +158,7 @@ GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h,
158 * @param group_generation Group generation of the fragment of the message to 158 * @param group_generation Group generation of the fragment of the message to
159 * test. It has relevance if the message consists of multiple fragments 159 * test. It has relevance if the message consists of multiple fragments
160 * with different group generations. 160 * with different group generations.
161 * FIXME: not needed if there are no overlapping messages.
161 * @param rcb Callback to call with the test result. 162 * @param rcb Callback to call with the test result.
162 * @param rcb_cls Closure for the callback. 163 * @param rcb_cls Closure for the callback.
163 * 164 *
@@ -166,7 +167,7 @@ GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h,
166struct GNUNET_PSYCSTORE_OperationHandle * 167struct GNUNET_PSYCSTORE_OperationHandle *
167GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, 168GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h,
168 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, 169 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
169 const struct GNUNET_CRYPTO_EddsaPublicKey *slave_key, 170 const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key,
170 uint64_t message_id, 171 uint64_t message_id,
171 uint64_t group_generation, 172 uint64_t group_generation,
172 GNUNET_PSYCSTORE_ResultCallback rcb, 173 GNUNET_PSYCSTORE_ResultCallback rcb,
@@ -178,7 +179,7 @@ GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h,
178 * 179 *
179 * @param h Handle for the PSYCstore. 180 * @param h Handle for the PSYCstore.
180 * @param channel_key The channel the message belongs to. 181 * @param channel_key The channel the message belongs to.
181 * @param message Message to store. 182 * @param msg Message to store.
182 * @param psycstore_flags Flags indicating whether the PSYC message contains 183 * @param psycstore_flags Flags indicating whether the PSYC message contains
183 * state modifiers. 184 * state modifiers.
184 * @param rcb Callback to call with the result of the operation. 185 * @param rcb Callback to call with the result of the operation.
@@ -189,8 +190,8 @@ GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h,
189struct GNUNET_PSYCSTORE_OperationHandle * 190struct GNUNET_PSYCSTORE_OperationHandle *
190GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h, 191GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h,
191 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, 192 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
192 const struct GNUNET_MULTICAST_MessageHeader *message, 193 const struct GNUNET_MULTICAST_MessageHeader *msg,
193 uint32_t psycstore_flags, 194 enum GNUNET_PSYCSTORE_MessageFlags psycstore_flags,
194 GNUNET_PSYCSTORE_ResultCallback rcb, 195 GNUNET_PSYCSTORE_ResultCallback rcb,
195 void *rcb_cls); 196 void *rcb_cls);
196 197