From 544201a6bb7ec4480619f576f388d84883895de0 Mon Sep 17 00:00:00 2001 From: Gabor X Toth <*@tg-x.net> Date: Mon, 12 Aug 2013 16:57:49 +0000 Subject: 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 --- src/include/gnunet_psycstore_service.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/include/gnunet_psycstore_service.h') 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, * @param h Handle for the PSYCstore. * @param channel_key The channel where the event happened. * @param slave_key Public key of joining/leaving slave. - * @param message_id ID of the message in which this event was announced. - * @param did_join #GNUNET_YES on join, #GNUNET_NO on leave. + * @param announced_at ID of the message that announced the membership change. + * @param effective_since Message ID this membership change is in effect since. + * @param did_join #GNUNET_YES on join, #GNUNET_NO on part. * @param rcb Callback to call with the result of the storage operation. * @param rcb_cls Closure for the callback. * @@ -103,7 +104,8 @@ struct GNUNET_PSYCSTORE_OperationHandle * GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, const struct GNUNET_CRYPTO_EccPublicKey *channel_key, const struct GNUNET_CRYPTO_EccPublicKey *slave_key, - uint64_t message_id, + uint64_t announced_at, + uint64_t effective_since, int did_join, GNUNET_PSYCSTORE_ResultCallback rcb, void *rcb_cls); -- cgit v1.2.3