path: root/utils
diff options
authorRichard Wilson <>2006-07-03 21:07:02 +0000
committerRichard Wilson <>2006-07-03 21:07:02 +0000
commitde0c4e2c32c1ecbef75293653adff4e4ceffeffe (patch)
tree105483179bd2e38a08774cd63baf2137c5d6a0ff /utils
parent79cd7b86a91e86951d989ec341a839bdb0aa57d9 (diff)
Implement up toolbar icon and menu option.
svn path=/trunk/netsurf/; revision=2705
Diffstat (limited to 'utils')
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/url.c b/utils/url.c
index 26c3295ab..daf7e3616 100644
--- a/utils/url.c
+++ b/utils/url.c
@@ -534,14 +534,14 @@ url_func_result url_canonical_root(const char *url, char **result)
- * Strip leafname, query and fragment segments from an URL
+ * Strip the topmost segment of the path
* \param url an absolute URL
* \param result pointer to pointer to buffer to hold result
* \return URL_FUNC_OK on success
-url_func_result url_strip_lqf(const char *url, char **result)
+url_func_result url_parent(const char *url, char **result)
url_func_result status;
struct url_components components;
diff --git a/utils/url.h b/utils/url.h
index 58f1d1647..388a4b73d 100644
--- a/utils/url.h
+++ b/utils/url.h
@@ -28,7 +28,7 @@ url_func_result url_nice(const char *url, char **result,
bool remove_extensions);
url_func_result url_escape(const char *unescaped, char **result);
url_func_result url_canonical_root(const char *url, char **result);
-url_func_result url_strip_lqf(const char *url, char **result);
+url_func_result url_parent(const char *url, char **result);
url_func_result url_plq(const char *url, char **result);
url_func_result url_path(const char *url, char **result);
url_func_result url_compare(const char *url1, const char *url2,