#include "platform.h"
#include "gnunet_common.h"
-
+#include "gnunet_transport_plugin.h"
/**
* Timeout values for testing
*/
#endif
+#define HTTP_DEFAULT_PORT 80
+#define HTTPS_DEFAULT_PORT 443
+
+
+struct SplittedHTTPAddress;
+
+struct SplittedHTTPAddress *
+http_split_address (const char * addr);
+
/**
* Convert the transports address to a nice, human-readable
* format.
/**
* Create a socketaddr from a HTTP address
*
- * @param protocol protocol
* @param addr sockaddr * address
* @param addrlen length of the address
* @param res the result:
* @return the size
*/
size_t
-http_common_address_get_size (void *addr);
+http_common_address_get_size (const void *addr);
/**