From 53f0f432dd2aa915765e3b2869928a18f09adad8 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 25 Oct 2014 17:10:08 +0100 Subject: 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. --- content/fetchers/about.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'content/fetchers/about.h') 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 -- cgit v1.2.3