From 4cbc8f16b65571364828bf12a54c9094b25513f6 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 21 Sep 2020 08:25:56 +0100 Subject: split out blank handler for about scheme --- content/fetchers/about/blank.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 content/fetchers/about/blank.h (limited to 'content/fetchers/about/blank.h') 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 + * + * 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 . + */ + +/** + * \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 -- cgit v1.2.3