summaryrefslogtreecommitdiff
path: root/desktop/save_complete.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-11-04 23:39:13 +0000
committerVincent Sanders <vince@kyllikki.org>2019-11-04 23:39:13 +0000
commit7c63f5f66bde003c2e661f2914b74872cb5a5b8b (patch)
tree32dc9f8e2877e0d24a6c08872e0717fb64305a15 /desktop/save_complete.h
parent44574d800f18ab7a78b77e41dc0316947bafbaba (diff)
downloadnetsurf-7c63f5f66bde003c2e661f2914b74872cb5a5b8b.tar.gz
netsurf-7c63f5f66bde003c2e661f2914b74872cb5a5b8b.tar.bz2
improve error returns throughout complete save and remove user warnings
Diffstat (limited to 'desktop/save_complete.h')
-rw-r--r--desktop/save_complete.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/save_complete.h b/desktop/save_complete.h
index f7f250767..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>
@@ -56,9 +56,9 @@ nserror save_complete_finalise(void);
* \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