projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix potential NULL dereference warning.
[oweals/gnunet.git]
/
src
/
set
/
gnunet-service-set_protocol.h
diff --git
a/src/set/gnunet-service-set_protocol.h
b/src/set/gnunet-service-set_protocol.h
index 748da15fc0468f6d5b656ea8b94bf5e6419abc93..0138b21c777bf6fd019f2c02e39b20e30dc6922b 100644
(file)
--- a/
src/set/gnunet-service-set_protocol.h
+++ b/
src/set/gnunet-service-set_protocol.h
@@
-208,6
+208,20
@@
struct IntersectionDoneMessage
struct GNUNET_HashCode element_xor_hash;
};
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
GNUNET_NETWORK_STRUCT_END
#endif