summaryrefslogtreecommitdiff
path: root/desktop/save_complete.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/save_complete.h')
-rw-r--r--desktop/save_complete.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/desktop/save_complete.h b/desktop/save_complete.h
index 3c389a56f..7df89f0b5 100644
--- a/desktop/save_complete.h
+++ b/desktop/save_complete.h
@@ -21,8 +21,8 @@
* Save HTML document with dependencies (interface).
*/
-#ifndef _NETSURF_DESKTOP_SAVE_COMPLETE_H_
-#define _NETSURF_DESKTOP_SAVE_COMPLETE_H_
+#ifndef NETSURF_DESKTOP_SAVE_COMPLETE_H_
+#define NETSURF_DESKTOP_SAVE_COMPLETE_H_
#include <stdbool.h>
@@ -44,15 +44,21 @@ typedef void (*save_complete_set_type_cb)(const char *path,
*/
void save_complete_init(void);
+
+/**
+ * Finalise save complete module.
+ */
+nserror save_complete_finalise(void);
+
/**
* Save an HTML page with all dependencies.
*
* \param c CONTENT_HTML to save
* \param path Native path to directory to save in to (must exist)
* \param set_type Callback to set type of a file, or NULL
- * \return true on success, false on error and error reported
+ * \return NSERROR_OK on success else error code
*/
-bool save_complete(struct hlcache_handle *c, const char *path,
+nserror save_complete(struct hlcache_handle *c, const char *path,
save_complete_set_type_cb set_type);
#endif