aboutsummaryrefslogtreecommitdiff
path: root/src/url.h
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-05-10 13:04:34 +0200
committerSebastian Geerken <devnull@localhost>2015-05-10 13:04:34 +0200
commitd3ca9f0f9587b29b795585b1436b46d532699ece (patch)
treeba8daf1c18a75c9bab3195855595806fff69054b /src/url.h
parenta5fb7d09a8381c2e0d35b50513379b780751e978 (diff)
parent3702a356bae1090287aa4aecb684e5c29c7af72c (diff)
Merge with main repo.
Diffstat (limited to 'src/url.h')
-rw-r--r--src/url.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/url.h b/src/url.h
index ef532f76..6920f769 100644
--- a/src/url.h
+++ b/src/url.h
@@ -13,6 +13,9 @@
#include "../dlib/dlib.h"
+#define URL_HTTP_PORT 80
+#define URL_HTTPS_PORT 443
+
/*
* Values for DilloUrl->flags.
* Specifies which which action to perform with an URL.
@@ -111,6 +114,7 @@ void a_Url_set_ismap_coords(DilloUrl *u, char *coord_str);
char *a_Url_decode_hex_str(const char *str);
char *a_Url_encode_hex_str(const char *str);
char *a_Url_string_strip_delimiters(const char *str);
+bool_t a_Url_host_is_ip(const char *host);
bool_t a_Url_same_organization(const DilloUrl *u1, const DilloUrl *u2);
#ifdef __cplusplus
}