From f0b7955d3d31ca825ff0717e2cf4d087fc925226 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 28 Sep 2020 00:03:18 +0100 Subject: split out about scheme query timeout page --- content/fetchers/about/query_timeout.h | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 content/fetchers/about/query_timeout.h (limited to 'content/fetchers/about/query_timeout.h') diff --git a/content/fetchers/about/query_timeout.h b/content/fetchers/about/query_timeout.h new file mode 100644 index 000000000..a64757f21 --- /dev/null +++ b/content/fetchers/about/query_timeout.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 query timeout handler interface + */ + +#ifndef NETSURF_CONTENT_FETCHERS_ABOUT_QUERY_TIMEOUT_H +#define NETSURF_CONTENT_FETCHERS_ABOUT_QUERY_TIMEOUT_H + +/** + * Handler to generate about scheme timeout query page + * + * \param ctx The fetcher context. + * \return true if handled false if aborted. + */ +bool fetch_about_query_timeout_handler(struct fetch_about_context *ctx); + +#endif -- cgit v1.2.3