From 1c85bf04293cfba663c5170bbe762825b7e72af1 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 2 Mar 2004 18:02:41 +0000 Subject: [project @ 2004-03-02 18:02:17 by bursa] Add new url functions and modify to use them. svn path=/import/netsurf/; revision=578 --- utils/url.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 utils/url.h (limited to 'utils/url.h') diff --git a/utils/url.h b/utils/url.h new file mode 100644 index 000000000..f908e8f9a --- /dev/null +++ b/utils/url.h @@ -0,0 +1,20 @@ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2004 James Bursa + */ + +/** \file + * URL parsing and joining (interface). + */ + +#ifndef _NETSURF_UTILS_URL_H_ +#define _NETSURF_UTILS_URL_H_ + +void url_init(void); +char *url_normalize(const char *url); +char *url_join(const char *rel, const char *base); +char *url_host(const char *url); + +#endif -- cgit v1.2.3