From b78887c7c8324178f1dd22faf7a3b818b6682a5d Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 8 Mar 2017 13:13:21 +0000 Subject: make update data api return an result --- 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 9ff3a8d37..daa54d6cd 100644 --- a/content/urldb.h +++ b/content/urldb.h @@ -75,8 +75,9 @@ void urldb_set_url_content_type(struct nsurl *url, content_type type); * Update an URL's visit data * * \param url The URL to update + * \return NSERROR_OK on success or NSERROR_NOT_FOUND if url not in database */ -void urldb_update_url_visit_data(struct nsurl *url); +nserror urldb_update_url_visit_data(struct nsurl *url); /** -- cgit v1.2.3