reuse, add reserved for alignment
authorChristian Grothoff <christian@grothoff.org>
Sat, 4 Jun 2011 22:29:59 +0000 (22:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 4 Jun 2011 22:29:59 +0000 (22:29 +0000)
src/transport/transport.h

index 237908581afecf85ce8a963ddc5b184a8ac20955..f05ef3d5586e4fea1adf8c6c03f446c4067defa9 100644 (file)
@@ -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.