summaryrefslogtreecommitdiff
path: root/desktop/hotlist.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-08-23 17:30:31 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-08-23 17:30:31 +0100
commit184650c7d84cd403060ecfe3729cc7dbfa0e43c9 (patch)
tree6c7d9673c4874ac08b86640d3b79e3b0e7bdcd72 /desktop/hotlist.h
parentf0749394d12acc7e86a454db085b6b696ab9b7f9 (diff)
downloadnetsurf-184650c7d84cd403060ecfe3729cc7dbfa0e43c9.tar.gz
netsurf-184650c7d84cd403060ecfe3729cc7dbfa0e43c9.tar.bz2
Add function to determine whether URL is in hotlist.
Diffstat (limited to 'desktop/hotlist.h')
-rw-r--r--desktop/hotlist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/hotlist.h b/desktop/hotlist.h
index 1fc37eada..1271b623e 100644
--- a/desktop/hotlist.h
+++ b/desktop/hotlist.h
@@ -62,6 +62,14 @@ nserror hotlist_fini(const char *path);
nserror hotlist_add(nsurl *url);
/**
+ * Check whether given URL is present in hotlist
+ *
+ * \param url Address to look for in hotlist
+ * \return true iff url is present in hotlist, false otherwise
+ */
+bool hotlist_has_url(nsurl *url);
+
+/**
* Redraw the hotlist.
*
* \param x X coordinate to render treeview at