diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2020-02-24 08:49:50 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2020-02-24 08:49:50 +0000 |
commit | 214f436b072e035aa6a53f3c4d62028cd56753fc (patch) | |
tree | faa7fd08a548ad1ea362e284426ffdadbfa71682 /desktop/cookie_manager.h | |
parent | 34e61df8ebe237d6862e1c63772a1aae40d81320 (diff) | |
download | netsurf-214f436b072e035aa6a53f3c4d62028cd56753fc.tar.gz netsurf-214f436b072e035aa6a53f3c4d62028cd56753fc.tar.bz2 |
Cookie manager: Add API to set the search string.
Diffstat (limited to 'desktop/cookie_manager.h')
-rw-r--r-- | desktop/cookie_manager.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/cookie_manager.h b/desktop/cookie_manager.h index 4ae74a25f..11d03252e 100644 --- a/desktop/cookie_manager.h +++ b/desktop/cookie_manager.h @@ -76,6 +76,15 @@ bool cookie_manager_add(const struct cookie_data *data); void cookie_manager_remove(const struct cookie_data *data); /** + * Set the cookie manager search string. + * + * \param string Sering to set as search string. + * \return NSERROR_OK on success, appropriate error otherwise + */ +nserror cookie_manager_set_search_string( + const char *string); + +/** * Redraw the cookies manager. * * \param x X coordinate to render treeview at |