* @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"
/**
* 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
GNUNET_NETWORK_STRUCT_END
-struct ServerConnection
+struct ServerRequest
{
/* _RECV or _SEND */
int direction;
/**
* Client send handle
*/
- struct ServerConnection *server_recv;
+ struct ServerRequest *server_recv;
/**
* Client send handle
*/
- struct ServerConnection *server_send;
+ struct ServerRequest *server_send;
};
/**
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 */