#include "platform.h"
#include "gnunet_common.h"
-/**
- * FIXME
- */
-#define GNUNET_SET_ACK_WINDOW 10
-
-
GNUNET_NETWORK_STRUCT_BEGIN
/**
*/
struct GNUNET_PeerIdentity peer_id;
- /* rest: nested context message */
+ /* rest: context message, that is, application-specific
+ message to convince listener to pick up */
};
uint32_t request_id GNUNET_PACKED;
/**
- * Was the evaluation successful?
+ * Was the evaluation successful? Contains
+ * an `enum GNUNET_SET_Status` in NBO.
*/
uint16_t result_status GNUNET_PACKED;
};
+/**
+ * Set element transmitted by service to client in response to a set
+ * iteration request.
+ */
struct GNUNET_SET_IterResponseMessage
{
/**
*/
struct GNUNET_MessageHeader header;
+ /**
+ * To which set iteration does this reponse belong to? First
+ * iteration (per client) has counter zero. Wraps around.
+ */
+ uint16_t iteration_id GNUNET_PACKED;
+
/**
* Type of the element attachted to the message,
* if any.
/* rest: element */
};
+
+/**
+ * Client acknowledges receiving element in iteration.
+ */
struct GNUNET_SET_IterAckMessage
{
/**