aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore/psycstore.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/psycstore/psycstore.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/psycstore/psycstore.h')
-rw-r--r--src/psycstore/psycstore.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/psycstore/psycstore.h b/src/psycstore/psycstore.h
index 16d898a45..1d586990f 100644
--- a/src/psycstore/psycstore.h
+++ b/src/psycstore/psycstore.h
@@ -175,7 +175,7 @@ struct MembershipStoreRequest
175 /** 175 /**
176 * Slave's public key. 176 * Slave's public key.
177 */ 177 */
178 struct GNUNET_CRYPTO_EddsaPublicKey slave_key; 178 struct GNUNET_CRYPTO_EcdsaPublicKey slave_key;
179 179
180 uint64_t announced_at GNUNET_PACKED; 180 uint64_t announced_at GNUNET_PACKED;
181 uint64_t effective_since GNUNET_PACKED; 181 uint64_t effective_since GNUNET_PACKED;
@@ -207,7 +207,7 @@ struct MembershipTestRequest
207 /** 207 /**
208 * Slave's public key. 208 * Slave's public key.
209 */ 209 */
210 struct GNUNET_CRYPTO_EddsaPublicKey slave_key; 210 struct GNUNET_CRYPTO_EcdsaPublicKey slave_key;
211 211
212 uint64_t message_id GNUNET_PACKED; 212 uint64_t message_id GNUNET_PACKED;
213 213
@@ -235,7 +235,12 @@ struct FragmentStoreRequest
235 */ 235 */
236 struct GNUNET_CRYPTO_EddsaPublicKey channel_key; 236 struct GNUNET_CRYPTO_EddsaPublicKey channel_key;
237 237
238 /**
239 * enum GNUNET_PSYCSTORE_MessageFlags
240 */
238 uint32_t psycstore_flags GNUNET_PACKED; 241 uint32_t psycstore_flags GNUNET_PACKED;
242
243 /* Followed by fragment */
239}; 244};
240 245
241 246
@@ -336,12 +341,14 @@ struct StateHashUpdateRequest
336 struct GNUNET_HashCode hash; 341 struct GNUNET_HashCode hash;
337}; 342};
338 343
344
339enum StateOpFlags 345enum StateOpFlags
340{ 346{
341 STATE_OP_FIRST = 1 << 0, 347 STATE_OP_FIRST = 1 << 0,
342 STATE_OP_LAST = 1 << 1 348 STATE_OP_LAST = 1 << 1
343}; 349};
344 350
351
345/** 352/**
346 * @see GNUNET_PSYCSTORE_state_modify() 353 * @see GNUNET_PSYCSTORE_state_modify()
347 */ 354 */