diff options
Diffstat (limited to 'src/set/gnunet-service-set_protocol.h')
-rw-r--r-- | src/set/gnunet-service-set_protocol.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/set/gnunet-service-set_protocol.h b/src/set/gnunet-service-set_protocol.h index 529fed64c..a2803ee47 100644 --- a/src/set/gnunet-service-set_protocol.h +++ b/src/set/gnunet-service-set_protocol.h | |||
@@ -32,7 +32,8 @@ | |||
32 | 32 | ||
33 | GNUNET_NETWORK_STRUCT_BEGIN | 33 | GNUNET_NETWORK_STRUCT_BEGIN |
34 | 34 | ||
35 | struct OperationRequestMessage { | 35 | struct OperationRequestMessage |
36 | { | ||
36 | /** | 37 | /** |
37 | * Type: #GNUNET_MESSAGE_TYPE_SET_P2P_OPERATION_REQUEST | 38 | * Type: #GNUNET_MESSAGE_TYPE_SET_P2P_OPERATION_REQUEST |
38 | */ | 39 | */ |
@@ -63,7 +64,8 @@ struct OperationRequestMessage { | |||
63 | * If an IBF has too many buckets for an IBF message, | 64 | * If an IBF has too many buckets for an IBF message, |
64 | * it is split into multiple messages. | 65 | * it is split into multiple messages. |
65 | */ | 66 | */ |
66 | struct IBFMessage { | 67 | struct IBFMessage |
68 | { | ||
67 | /** | 69 | /** |
68 | * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF | 70 | * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF |
69 | */ | 71 | */ |
@@ -99,7 +101,8 @@ struct IBFMessage { | |||
99 | }; | 101 | }; |
100 | 102 | ||
101 | 103 | ||
102 | struct InquiryMessage { | 104 | struct InquiryMessage |
105 | { | ||
103 | /** | 106 | /** |
104 | * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF | 107 | * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF |
105 | */ | 108 | */ |
@@ -124,7 +127,8 @@ struct InquiryMessage { | |||
124 | * send it the number of elements in the set, to allow the peers | 127 | * send it the number of elements in the set, to allow the peers |
125 | * to decide who should start with the Bloom filter. | 128 | * to decide who should start with the Bloom filter. |
126 | */ | 129 | */ |
127 | struct IntersectionElementInfoMessage { | 130 | struct IntersectionElementInfoMessage |
131 | { | ||
128 | /** | 132 | /** |
129 | * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_ELEMENT_INFO | 133 | * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_ELEMENT_INFO |
130 | */ | 134 | */ |
@@ -140,7 +144,8 @@ struct IntersectionElementInfoMessage { | |||
140 | /** | 144 | /** |
141 | * Bloom filter messages exchanged for set intersection calculation. | 145 | * Bloom filter messages exchanged for set intersection calculation. |
142 | */ | 146 | */ |
143 | struct BFMessage { | 147 | struct BFMessage |
148 | { | ||
144 | /** | 149 | /** |
145 | * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_BF | 150 | * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_BF |
146 | */ | 151 | */ |
@@ -184,7 +189,8 @@ struct BFMessage { | |||
184 | * by getting the empty set, which in that case also needs to be | 189 | * by getting the empty set, which in that case also needs to be |
185 | * communicated. | 190 | * communicated. |
186 | */ | 191 | */ |
187 | struct IntersectionDoneMessage { | 192 | struct IntersectionDoneMessage |
193 | { | ||
188 | /** | 194 | /** |
189 | * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_DONE | 195 | * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_DONE |
190 | */ | 196 | */ |
@@ -205,7 +211,8 @@ struct IntersectionDoneMessage { | |||
205 | /** | 211 | /** |
206 | * Strata estimator together with the peer's overall set size. | 212 | * Strata estimator together with the peer's overall set size. |
207 | */ | 213 | */ |
208 | struct StrataEstimatorMessage { | 214 | struct StrataEstimatorMessage |
215 | { | ||
209 | /** | 216 | /** |
210 | * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_SE(C) | 217 | * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_SE(C) |
211 | */ | 218 | */ |