[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28030 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28030 - gnunet/src/include |
Date: |
Mon, 15 Jul 2013 09:25:11 +0200 |
Author: tg
Date: 2013-07-15 09:25:11 +0200 (Mon, 15 Jul 2013)
New Revision: 28030
Modified:
gnunet/src/include/gnunet_psyc_service.h
gnunet/src/include/gnunet_psycstore_service.h
Log:
psyc(store): group generation only needed when storing the message
Modified: gnunet/src/include/gnunet_psyc_service.h
===================================================================
--- gnunet/src/include/gnunet_psyc_service.h 2013-07-15 07:25:09 UTC (rev
28029)
+++ gnunet/src/include/gnunet_psyc_service.h 2013-07-15 07:25:11 UTC (rev
28030)
@@ -147,8 +147,6 @@
* @param message_id Unique message counter for this message;
* (unique only in combination with the given sender for
* this channel).
- * @param group_generation Group generation counter for this message
- * (always zero for messages from members to channel owner);
FIXME: needed?
* @param method_name Original method name from PSYC (may be more
* specific than the registered method name due to try-and-slice
matching).
* FIXME: no try-and-slice for methods defined here.
@@ -163,7 +161,6 @@
typedef int (*GNUNET_PSYC_Method)(void *cls,
const struct GNUNET_PeerIdentity *sender,
uint64_t message_id,
- uint64_t group_generation,
const char *method_name,
size_t header_length,
GNUNET_PSYC_Modifier *header,
@@ -327,8 +324,6 @@
* @param cls Closure.
* @param message_id Set to the unique message ID that was generated for
* this message.
- * @param group_generation Set to the group generation used for this
- * message.
* @param data_size[in,out] Initially set to the number of bytes available in
@a data,
* should be set to the number of bytes written to data (IN/OUT).
* @param[out] data Where to write the body of the message to give to the
method;
@@ -340,7 +335,6 @@
*/
typedef int (*GNUNET_PSYC_ChannelReadyNotify)(void *cls,
uint64_t message_id,
- uint64_t group_generation,
size_t *data_size,
void *data);
@@ -432,13 +426,11 @@
* @param group Group handle.
* @param member Which peer to add.
* @param message_id Message ID for the message that changed the membership.
- * @param group_generation The generation ID where the change went into effect.
*/
void
GNUNET_PSYC_group_member_add (struct GNUNET_PSYC_Group *group,
const struct GNUNET_PeerIdentity *member,
- uint64_t message_id,
- uint64_t group_generation);
+ uint64_t message_id);
/**
@@ -460,13 +452,11 @@
* @param group Group handle.
* @param member Which peer to remove.
* @param message_id Message ID for the message that changed the membership.
- * @param group_generation The generation ID where the change went into effect.
*/
void
GNUNET_PSYC_group_member_remove (struct GNUNET_PSYC_Group *group,
const struct GNUNET_PeerIdentity *member,
- uint64_t message_id,
- uint64_t group_generation);
+ uint64_t message_id);
/**
Modified: gnunet/src/include/gnunet_psycstore_service.h
===================================================================
--- gnunet/src/include/gnunet_psycstore_service.h 2013-07-15 07:25:09 UTC
(rev 28029)
+++ gnunet/src/include/gnunet_psycstore_service.h 2013-07-15 07:25:11 UTC
(rev 28030)
@@ -91,7 +91,6 @@
* @param h Handle for the PSYCstore.
* @param channel_id ID of the channel where the event happened.
* @param message_id ID of the message in which this event was announced.
- * @param group_generation Generation of the group when this event was
announced.
* @param peer Identity of joining/leaving peer.
* @param did_join #GNUNET_YES on join, #GNUNET_NO on leave.
* @param ccb Callback to call with the result of the storage operation.
@@ -103,7 +102,6 @@
GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h,
const struct GNUNET_HashCode *channel_id,
uint64_t message_id,
- uint64_t group_generation,
const struct GNUNET_PeerIdentity *peer,
int did_join,
GNUNET_PSYCSTORE_ContinuationCallback ccb,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28030 - gnunet/src/include,
gnunet <=