summaryrefslogtreecommitdiff
path: root/content/fetchers/about/blank.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-09-21 08:25:56 +0100
committerVincent Sanders <vince@kyllikki.org>2020-09-21 08:25:56 +0100
commit4cbc8f16b65571364828bf12a54c9094b25513f6 (patch)
tree40f14ccf9d7c65cf18d2f95dd805c40d9c60a067 /content/fetchers/about/blank.h
parent5207ecf3083fdf9e28fbc775426e415ff4a08f5d (diff)
downloadnetsurf-4cbc8f16b65571364828bf12a54c9094b25513f6.tar.gz
netsurf-4cbc8f16b65571364828bf12a54c9094b25513f6.tar.bz2
split out blank handler for about scheme
Diffstat (limited to 'content/fetchers/about/blank.h')
-rw-r--r--content/fetchers/about/blank.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/content/fetchers/about/blank.h b/content/fetchers/about/blank.h
new file mode 100644
index 000000000..09dcc1f6a
--- /dev/null
+++ b/content/fetchers/about/blank.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2020 Vincent Sanders <vince@netsurf-browser.org>
+ *
+ * This file is part of NetSurf.
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/**
+ * \file
+ * about scheme blank handler interface
+ */
+
+#ifndef NETSURF_CONTENT_FETCHERS_ABOUT_BLANK_H
+#define NETSURF_CONTENT_FETCHERS_ABOUT_BLANK_H
+
+/**
+ * Handler to generate about scheme blank page.
+ *
+ * \param ctx The fetcher context.
+ * \return true if handled false if aborted.
+ */
+bool fetch_about_blank_handler(struct fetch_about_context *ctx);
+
+#endif