summaryrefslogtreecommitdiff
path: root/content/urldb.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-03-13 21:55:39 +0000
committerVincent Sanders <vince@kyllikki.org>2017-03-13 21:55:39 +0000
commit27aa56cbf6d1f4862594ca0369aabcd56bf2aa48 (patch)
treeaa30aa1f04e7f39997ff13c19c01a234e0889450 /content/urldb.h
parentd55d7f3e1e50ad4b5199d1ea84922fedff859e78 (diff)
downloadnetsurf-27aa56cbf6d1f4862594ca0369aabcd56bf2aa48.tar.gz
netsurf-27aa56cbf6d1f4862594ca0369aabcd56bf2aa48.tar.bz2
make the urldb content type setting API return an error
Diffstat (limited to 'content/urldb.h')
-rw-r--r--content/urldb.h3
1 files changed, 2 insertions, 1 deletions
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);
/**