multicast: cleanup unused message structs
authorGabor X Toth <*@tg-x.net>
Fri, 23 Sep 2016 21:17:16 +0000 (21:17 +0000)
committerGabor X Toth <*@tg-x.net>
Fri, 23 Sep 2016 21:17:16 +0000 (21:17 +0000)
src/multicast/multicast.h

index 95beb7c3a46a4f26e202e5335a54caf576d933c7..aeb3c0b41426998f15776a1ccfe35be22c6d972b 100644 (file)
@@ -273,7 +273,6 @@ struct MulticastOriginStartMessage
    * we resume operating * a group.
    */
   uint64_t max_fragment_id;
-
 };
 
 
@@ -298,131 +297,6 @@ struct MulticastMemberJoinMessage
 };
 
 
-#if NOT_USED
-/**
- * Message sent from the client to the service to broadcast to all group
- * members.
- */
-struct MulticastBroadcastMessage
-{
-
-  /**
-   *
-   */
-  struct GNUNET_MessageHeader header;
-
-  /**
-   * #GNUNET_OK normally, #GNUNET_SYSERR if the origin aborted the
-   * transmission.
-   */
-  int32_t status;
-
-  /**
-   * Message ID.
-   */
-  uint64_t message_id;
-
-  /**
-   * Group generation.
-   */
-  uint64_t group_generation;
-
-  /**
-   * Total message size.
-   */
-  uint64_t total_size;
-
-};
-
-
-/**
- * Message sent from the client to the service to join a multicast group.
- */
-struct MulticastJoinMessage
-{
-
-  /**
-   *
-   */
-  struct GNUNET_MessageHeader header;
-
-  /**
-   * Number of relays we (think) we already know about.
-   */
-  uint32_t relay_count;
-
-  /**
-   * Public non-ephemeral key of the mutlicast group.
-   */
-  struct GNUNET_CRYPTO_EddsaPublicKey group_pub_key;
-
-  /**
-   * Our private key for the group.
-   */
-  struct GNUNET_CRYPTO_EcdsaPrivateKey member_key;
-
-  /* followed by 'relay_count' `struct GNUNET_PeerIdentity`s */
-
-};
-
-
-
-/**
- * Message sent from the client to the service to unicast to the group origin.
- */
-struct MulticastUnicastToOriginMessage
-{
-
-  /**
-   *
-   */
-  struct GNUNET_MessageHeader header;
-
-  /**
-   * Reserved (always 0).
-   */
-  uint32_t reserved;
-
-  /**
-   * Message ID.
-   */
-  uint64_t message_id;
-
-  /**
-   * Total message size.
-   */
-  uint64_t total_size;
-
-  /* followed by payload */
-
-};
-
-
-/**
- * Message sent from the client to the service to
- * cancel unicast to the group origin.
- */
-struct MulticastUnicastToOriginCancelMessage
-{
-
-  /**
-   *
-   */
-  struct GNUNET_MessageHeader header;
-
-  /**
-   * Reserved (always 0).
-   */
-  uint32_t reserved;
-
-  /**
-   * Message ID.
-   */
-  uint64_t message_id;
-
-};
-#endif // NOT_USED
-
 GNUNET_NETWORK_STRUCT_END
 
 #endif