split out about scheme certificate viewer generator

This commit is contained in:
Vincent Sanders 2020-09-21 12:53:39 +01:00
parent 4cbc8f16b6
commit dd541886fe
5 changed files with 1236 additions and 1153 deletions

View File

@ -1,6 +1,6 @@
# about fetcher sources
S_FETCHER_ABOUT := about.c imagecache.c blank.c
S_FETCHER_ABOUT := about.c imagecache.c blank.c certificate.c
# The following files depend on the testament
content/fetchers/about/about.c: testament $(OBJROOT)/testament.h

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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 certificate handler interface
*/
#ifndef NETSURF_CONTENT_FETCHERS_ABOUT_CERTIFICATE_H
#define NETSURF_CONTENT_FETCHERS_ABOUT_CERTIFICATE_H
/**
* Handler to generate about scheme certificate page.
*
* \param ctx The fetcher context.
* \return true if handled false if aborted.
*/
bool fetch_about_certificate_handler(struct fetch_about_context *ctx);
#endif

View File

@ -56,4 +56,8 @@ nserror fetch_about_ssenddataf(struct fetch_about_context *ctx, const char *fmt,
*/
bool fetch_about_send_finished(struct fetch_about_context *ctx);
/**
*/
struct nsurl *fetch_about_get_url(struct fetch_about_context *ctx);
#endif