summaryrefslogtreecommitdiff
path: root/utils/url.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-31 00:24:57 +0000
committerVincent Sanders <vince@kyllikki.org>2014-10-31 00:24:57 +0000
commitce3d99191842ded7687dc23c3ccb5f5ccc843558 (patch)
tree8bf59a56a3b5eadf727068201acd3e8c51bd9dc9 /utils/url.h
parentf995616509fc3c0556da49c915375108bf268f38 (diff)
downloadnetsurf-ce3d99191842ded7687dc23c3ccb5f5ccc843558.tar.gz
netsurf-ce3d99191842ded7687dc23c3ccb5f5ccc843558.tar.bz2
use nsurl_nice and remove url_nice
change all callers over to using new API for generating nice filenames from a url and remove the old API.
Diffstat (limited to 'utils/url.h')
-rw-r--r--utils/url.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/utils/url.h b/utils/url.h
index a2efbecec..d05ac0580 100644
--- a/utils/url.h
+++ b/utils/url.h
@@ -56,16 +56,6 @@ bool url_host_is_ip_address(const char *host);
/**
- * Attempt to find a nice filename for a URL.
- *
- * \param url an absolute URL
- * \param result pointer to pointer to buffer to hold filename
- * \param remove_extensions remove any extensions from the filename
- * \return NSERROR_OK on success
- */
-nserror url_nice(const char *url, char **result, bool remove_extensions);
-
-/**
* Escape a string suitable for inclusion in an URL.
*
* \param unescaped the unescaped string