diff options
author | Gabor X Toth <*@tg-x.net> | 2013-08-12 16:57:49 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-08-12 16:57:49 +0000 |
commit | 544201a6bb7ec4480619f576f388d84883895de0 (patch) | |
tree | 8bb90aa95bcf2551807fe154bf3bb6b3dc34ff20 /src/include/gnunet_psycstore_service.h | |
parent | 99206c12844f13722688589530244ac7c56aab63 (diff) | |
download | gnunet-544201a6bb7ec4480619f576f388d84883895de0.tar.gz gnunet-544201a6bb7ec4480619f576f388d84883895de0.zip |
psyc/store: added effective_since msg ID for specifying when a membership change went into effect; psyc/social: added state_reset/clear_objects flag for message sending functions
Diffstat (limited to 'src/include/gnunet_psycstore_service.h')
-rw-r--r-- | src/include/gnunet_psycstore_service.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h index f243fdc70..5c79e2073 100644 --- a/src/include/gnunet_psycstore_service.h +++ b/src/include/gnunet_psycstore_service.h | |||
@@ -92,8 +92,9 @@ typedef void (*GNUNET_PSYCSTORE_ResultCallback)(void *cls, | |||
92 | * @param h Handle for the PSYCstore. | 92 | * @param h Handle for the PSYCstore. |
93 | * @param channel_key The channel where the event happened. | 93 | * @param channel_key The channel where the event happened. |
94 | * @param slave_key Public key of joining/leaving slave. | 94 | * @param slave_key Public key of joining/leaving slave. |
95 | * @param message_id ID of the message in which this event was announced. | 95 | * @param announced_at ID of the message that announced the membership change. |
96 | * @param did_join #GNUNET_YES on join, #GNUNET_NO on leave. | 96 | * @param effective_since Message ID this membership change is in effect since. |
97 | * @param did_join #GNUNET_YES on join, #GNUNET_NO on part. | ||
97 | * @param rcb Callback to call with the result of the storage operation. | 98 | * @param rcb Callback to call with the result of the storage operation. |
98 | * @param rcb_cls Closure for the callback. | 99 | * @param rcb_cls Closure for the callback. |
99 | * | 100 | * |
@@ -103,7 +104,8 @@ struct GNUNET_PSYCSTORE_OperationHandle * | |||
103 | GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, | 104 | GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, |
104 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 105 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, |
105 | const struct GNUNET_CRYPTO_EccPublicKey *slave_key, | 106 | const struct GNUNET_CRYPTO_EccPublicKey *slave_key, |
106 | uint64_t message_id, | 107 | uint64_t announced_at, |
108 | uint64_t effective_since, | ||
107 | int did_join, | 109 | int did_join, |
108 | GNUNET_PSYCSTORE_ResultCallback rcb, | 110 | GNUNET_PSYCSTORE_ResultCallback rcb, |
109 | void *rcb_cls); | 111 | void *rcb_cls); |