summaryrefslogtreecommitdiff
path: root/content/fetchers/about.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-25 17:10:08 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-25 17:15:23 +0100
commit53f0f432dd2aa915765e3b2869928a18f09adad8 (patch)
treeed7fbb13adb6ea293f15c870490df20b71865521 /content/fetchers/about.h
parent7cf5cf7cb7797d7f39bb101504822da44ccc3355 (diff)
downloadnetsurf-53f0f432dd2aa915765e3b2869928a18f09adad8.tar.gz
netsurf-53f0f432dd2aa915765e3b2869928a18f09adad8.tar.bz2
update fetcher registration API to return an error code.
By using an error code return we can gracefully handle fetcher registration faliures instead of just immediately aborting. The curl handler was also cleaned up and documentation improved as a side effect.
Diffstat (limited to 'content/fetchers/about.h')
-rw-r--r--content/fetchers/about.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/fetchers/about.h b/content/fetchers/about.h
index 9544971a6..944f84a59 100644
--- a/content/fetchers/about.h
+++ b/content/fetchers/about.h
@@ -23,6 +23,11 @@
#ifndef NETSURF_CONTENT_FETCHERS_FETCH_ABOUT_H
#define NETSURF_CONTENT_FETCHERS_FETCH_ABOUT_H
+/**
+ * Register about scheme handler.
+ *
+ * \return NSERROR_OK on successful registration or error code on failure.
+ */
nserror fetch_about_register(void);
#endif