From ce3d99191842ded7687dc23c3ccb5f5ccc843558 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 31 Oct 2014 00:24:57 +0000 Subject: 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. --- utils/url.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'utils/url.h') diff --git a/utils/url.h b/utils/url.h index a2efbecec..d05ac0580 100644 --- a/utils/url.h +++ b/utils/url.h @@ -55,16 +55,6 @@ nserror url_init(void); 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. * -- cgit v1.2.3