From 4ef653b9f65c03cc9e2506e2dbadd89deb724525 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 4 Jun 2011 22:29:59 +0000 Subject: [PATCH] reuse, add reserved for alignment --- src/transport/transport.h | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/src/transport/transport.h b/src/transport/transport.h index 237908581..f05ef3d55 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h @@ -149,6 +149,11 @@ struct TransportRequestConnectMessage */ struct GNUNET_MessageHeader header; + /** + * For alignment. + */ + uint32_t reserved; + /** * Identity of the peer we would like to connect to. */ @@ -181,30 +186,6 @@ struct QuotaSetMessage }; -/** - * Message used to ask the transport service to create a connection. - */ -struct TryConnectMessage -{ - - /** - * Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_TRY_CONNECT - */ - struct GNUNET_MessageHeader header; - - /** - * for alignment - */ - uint32_t reserved; - - /** - * About which peer are we talking here? - */ - struct GNUNET_PeerIdentity peer; - -}; - - /** * Message used to notify the transport API about a message * received from the network. The actual message follows. -- 2.25.1