uint32_t address_active GNUNET_PACKED;
+ uint32_t id GNUNET_PACKED;
+
struct GNUNET_PeerIdentity peer;
uint16_t address_length GNUNET_PACKED;
};
+
struct AddressListRequestMessage
{
struct GNUNET_MessageHeader header;
+ uint32_t id GNUNET_PACKED;
+
int32_t all GNUNET_PACKED;
struct GNUNET_PeerIdentity peer;
/* followed by 'num_preferences'
* struct PreferenceInformation values */
};
+
+
+/**
+ * Message containing application feedback for a peer
+ */
+struct FeedbackPreferenceMessage
+{
+ struct GNUNET_MessageHeader header;
+
+ /**
+ * Number of feedback values included
+ */
+ uint32_t num_feedback GNUNET_PACKED;
+
+ /**
+ * Relative time describing for which time interval this feedback is
+ */
+ struct GNUNET_TIME_RelativeNBO scope;
+
+ /**
+ * Peer this feedback is for
+ */
+ struct GNUNET_PeerIdentity peer;
+
+ /* followed by 'num_feedback'
+ * struct PreferenceInformation values */
+};
+
GNUNET_NETWORK_STRUCT_END