mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
split out about scheme certificate viewer generator
This commit is contained in:
parent
4cbc8f16b6
commit
dd541886fe
@ -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
1189
content/fetchers/about/certificate.c
Normal file
1189
content/fetchers/about/certificate.c
Normal file
File diff suppressed because it is too large
Load Diff
35
content/fetchers/about/certificate.h
Normal file
35
content/fetchers/about/certificate.h
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user