fix type error and test cases
[oweals/gnunet.git] / src / set / gnunet-service-set_protocol.h
index 748da15fc0468f6d5b656ea8b94bf5e6419abc93..0138b21c777bf6fd019f2c02e39b20e30dc6922b 100644 (file)
@@ -208,6 +208,20 @@ struct IntersectionDoneMessage
   struct GNUNET_HashCode element_xor_hash;
 };
 
+
+/**
+ * Strata estimator together with the peer's overall set size.
+ */
+struct StrataEstimatorMessage
+{
+  /**
+   * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_SE(C)
+   */
+  struct GNUNET_MessageHeader header;
+
+  uint64_t set_size;
+};
+
 GNUNET_NETWORK_STRUCT_END
 
 #endif