diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-28 10:59:56 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-28 10:59:56 +0100 |
commit | eec80c561c8deb5b8b49bf6820fc171cccd5e82b (patch) | |
tree | f34be3115040f0dbfbf1a49ca47a0a584f15de94 /desktop/hotlist.h | |
parent | 39b68d0b8309c55dfe00f3d91682149118dae411 (diff) | |
download | netsurf-eec80c561c8deb5b8b49bf6820fc171cccd5e82b.tar.gz netsurf-eec80c561c8deb5b8b49bf6820fc171cccd5e82b.tar.bz2 |
Expose hotlist_export.
Diffstat (limited to 'desktop/hotlist.h')
-rw-r--r-- | desktop/hotlist.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/hotlist.h b/desktop/hotlist.h index 4a7ef2f01..743eb616b 100644 --- a/desktop/hotlist.h +++ b/desktop/hotlist.h @@ -104,6 +104,15 @@ nserror hotlist_add_entry(nsurl *url, const char *title, bool at_y, int y); */ nserror hotlist_add_folder(const char *title, bool at_y, int y); +/* + * Save hotlist to file + * + * \param path The path to save hotlist to + * \param title The title to give the hotlist, or NULL for default + * \return NSERROR_OK on success, or appropriate error otherwise + */ +nserror hotlist_export(const char *path, const char *title); + /** * Redraw the hotlist. * |