*/
uint32_t desired_replication_level GNUNET_PACKED;
+ /**
+ * Unique ID for the PUT message.
+ */
+ uint64_t unique_id GNUNET_PACKED;
+
/**
* How long should this data persist?
*/
};
+/**
+ * Message to confirming receipt of PUT, sent from DHT service to clients.
+ */
+struct GNUNET_DHT_ClientPutConfirmationMessage
+{
+ /**
+ * Type: GNUNET_MESSAGE_TYPE_DHT_CLIENT_PUT_OK
+ */
+ struct GNUNET_MessageHeader header;
+
+ /**
+ * Always zero.
+ */
+ uint32_t reserved GNUNET_PACKED;
+
+ /**
+ * Unique ID from the PUT message that is being confirmed.
+ */
+ uint64_t unique_id GNUNET_PACKED;
+
+};
+
+
+
/**
* Message to monitor put requests going through peer, DHT service -> clients.
*/
/**
* Message to request monitoring messages, clients -> DHT service.
*/
-struct GNUNET_DHT_MonitorStartMessage
+struct GNUNET_DHT_MonitorStartStopMessage
{
/**
- * Type: GNUNET_MESSAGE_TYPE_DHT_MONITOR_START
+ * Type: GNUNET_MESSAGE_TYPE_DHT_MONITOR_(START|STOP)
*/
struct GNUNET_MessageHeader header;
int16_t filter_key GNUNET_PACKED;
/**
- * The key to filter messages by..
+ * The key to filter messages by.
*/
GNUNET_HashCode key;
};