-indentation
[oweals/gnunet.git] / src / transport / plugin_transport_http.h
index 1469fd8a939c21bb9d36cafff0ad4896ff1281ae..2fb827be38760646e414465daf7e73c05c61b673 100644 (file)
@@ -23,6 +23,8 @@
  * @brief http transport service plugin
  * @author Matthias Wachs
  */
+#ifndef PLUGIN_TRANSPORT_HTTP_H
+#define PLUGIN_TRANSPORT_HTTP_H
 
 #include "platform.h"
 #include "gnunet_common.h"
@@ -96,22 +98,13 @@ struct Plugin
   /**
    * IPv4 addresses DLL head
    */
-  struct IPv4HttpAddressWrapper *ipv4_addr_head;
+  struct HttpAddressWrapper *addr_head;
 
   /**
    * IPv4 addresses DLL tail
    */
-  struct IPv4HttpAddressWrapper *ipv4_addr_tail;
+  struct HttpAddressWrapper *addr_tail;
 
-  /**
-   * IPv6 addresses DLL head
-   */
-  struct IPv6HttpAddressWrapper *ipv6_addr_head;
-
-  /**
-   * IPv6 addresses DLL tail
-   */
-  struct IPv6HttpAddressWrapper *ipv6_addr_tail;
 
   /**
    * Plugin configuration
@@ -588,4 +581,6 @@ void
 notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer,
                     struct Session *s);
 
+/*#ifndef PLUGIN_TRANSPORT_HTTP_H*/
+#endif
 /* end of plugin_transport_http.h */