summaryrefslogtreecommitdiff
path: root/desktop/global_history.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-08-28 11:43:34 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-08-28 11:43:34 +0100
commitfbfe5ab17ba41187bcbba5e759dd8e2e98a1b3e7 (patch)
treef464351d771bbab3a572177350d58b2f1c1a0a00 /desktop/global_history.h
parent45d3b9162c82f61b80d8257523d6530f8ddba5c3 (diff)
downloadnetsurf-fbfe5ab17ba41187bcbba5e759dd8e2e98a1b3e7.tar.gz
netsurf-fbfe5ab17ba41187bcbba5e759dd8e2e98a1b3e7.tar.bz2
Function for global history export.
Diffstat (limited to 'desktop/global_history.h')
-rw-r--r--desktop/global_history.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/global_history.h b/desktop/global_history.h
index 3863e8151..9d1dc4523 100644
--- a/desktop/global_history.h
+++ b/desktop/global_history.h
@@ -61,6 +61,15 @@ nserror global_history_fini(void);
*/
nserror global_history_add(nsurl *url);
+/*
+ * Save global history to file (html)
+ *
+ * \param path The path to save history to
+ * \param title The title to give the document, or NULL for default
+ * \return NSERROR_OK on success, or appropriate error otherwise
+ */
+nserror global_history_export(const char *path, const char *title);
+
/**
* Redraw the global history.
*