mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Expose hotlist_export.
This commit is contained in:
parent
39b68d0b83
commit
eec80c561c
@ -905,12 +905,8 @@ static nserror hotlist_export_leave_cb(void *ctx, void *node_data,
|
||||
|
||||
return NSERROR_OK;
|
||||
}
|
||||
/*
|
||||
* Save hotlist to file
|
||||
*
|
||||
* \return NSERROR_OK on success, or appropriate error otherwise
|
||||
*/
|
||||
static nserror hotlist_export(const char *path, const char *title)
|
||||
/* Exported interface, documented in hotlist.h */
|
||||
nserror hotlist_export(const char *path, const char *title)
|
||||
{
|
||||
struct treeview_walk_ctx tw;
|
||||
nserror err;
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user