From d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 8 Sep 2019 12:33:09 +0000 Subject: uncrustify as demanded. --- src/set/gnunet-service-set_protocol.h | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) (limited to '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 13f90a6df..529fed64c 100644 --- a/src/set/gnunet-service-set_protocol.h +++ b/src/set/gnunet-service-set_protocol.h @@ -11,12 +11,12 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . SPDX-License-Identifier: AGPL3.0-or-later -*/ + */ /** * @author Florian Dold * @author Christian Grothoff @@ -32,8 +32,7 @@ GNUNET_NETWORK_STRUCT_BEGIN -struct OperationRequestMessage -{ +struct OperationRequestMessage { /** * Type: #GNUNET_MESSAGE_TYPE_SET_P2P_OPERATION_REQUEST */ @@ -64,8 +63,7 @@ struct OperationRequestMessage * If an IBF has too many buckets for an IBF message, * it is split into multiple messages. */ -struct IBFMessage -{ +struct IBFMessage { /** * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF */ @@ -101,8 +99,7 @@ struct IBFMessage }; -struct InquiryMessage -{ +struct InquiryMessage { /** * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF */ @@ -127,8 +124,7 @@ struct InquiryMessage * send it the number of elements in the set, to allow the peers * to decide who should start with the Bloom filter. */ -struct IntersectionElementInfoMessage -{ +struct IntersectionElementInfoMessage { /** * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_ELEMENT_INFO */ @@ -138,15 +134,13 @@ struct IntersectionElementInfoMessage * mutator used with this bloomfilter. */ uint32_t sender_element_count GNUNET_PACKED; - }; /** * Bloom filter messages exchanged for set intersection calculation. */ -struct BFMessage -{ +struct BFMessage { /** * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_BF */ @@ -190,8 +184,7 @@ struct BFMessage * by getting the empty set, which in that case also needs to be * communicated. */ -struct IntersectionDoneMessage -{ +struct IntersectionDoneMessage { /** * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_DONE */ @@ -212,8 +205,7 @@ struct IntersectionDoneMessage /** * Strata estimator together with the peer's overall set size. */ -struct StrataEstimatorMessage -{ +struct StrataEstimatorMessage { /** * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_SE(C) */ -- cgit v1.2.3