From 27aa56cbf6d1f4862594ca0369aabcd56bf2aa48 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 13 Mar 2017 21:55:39 +0000 Subject: make the urldb content type setting API return an error --- content/urldb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/urldb.h') diff --git a/content/urldb.h b/content/urldb.h index e3162916d..26b014d01 100644 --- a/content/urldb.h +++ b/content/urldb.h @@ -69,8 +69,9 @@ nserror urldb_set_url_title(struct nsurl *url, const char *title); * * \param url The URL to look for * \param type The type to set + * \return NSERROR_OK on success or NSERROR_NOT_FOUND if url not in database */ -void urldb_set_url_content_type(struct nsurl *url, content_type type); +nserror urldb_set_url_content_type(struct nsurl *url, content_type type); /** -- cgit v1.2.3