diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-01-18 11:07:46 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-01-18 11:07:46 +0000 |
commit | dc8ac5f2e7117530a72cb972405aa7aea15d8a06 (patch) | |
tree | 3c9bbe7ef44fa80e7cb14df506d9c513a6249aec /src/transport/plugin_transport_http_common.h | |
parent | 4e12d1273df471ee0e79c996601eb4bbe3f1231b (diff) | |
download | gnunet-dc8ac5f2e7117530a72cb972405aa7aea15d8a06.tar.gz gnunet-dc8ac5f2e7117530a72cb972405aa7aea15d8a06.zip |
address parsing
Diffstat (limited to 'src/transport/plugin_transport_http_common.h')
-rw-r--r-- | src/transport/plugin_transport_http_common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_common.h b/src/transport/plugin_transport_http_common.h index 0cc6de5ee..31676c284 100644 --- a/src/transport/plugin_transport_http_common.h +++ b/src/transport/plugin_transport_http_common.h | |||
@@ -50,6 +50,10 @@ | |||
50 | 50 | ||
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | #define HTTP_DEFAULT_PORT 80 | ||
54 | #define HTTPS_DEFAULT_PORT 443 | ||
55 | |||
56 | |||
53 | struct SplittedHTTPAddress; | 57 | struct SplittedHTTPAddress; |
54 | 58 | ||
55 | struct SplittedHTTPAddress * | 59 | struct SplittedHTTPAddress * |
@@ -147,7 +151,7 @@ http_common_socket_from_address (const void *addr, size_t addrlen, int *res); | |||
147 | * @return the size | 151 | * @return the size |
148 | */ | 152 | */ |
149 | size_t | 153 | size_t |
150 | http_common_address_get_size (void *addr); | 154 | http_common_address_get_size (const void *addr); |
151 | 155 | ||
152 | 156 | ||
153 | /** | 157 | /** |