summaryrefslogtreecommitdiff
path: root/content/fetchers/about/certificate.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-09-21 12:53:39 +0100
committerVincent Sanders <vince@kyllikki.org>2020-09-21 12:53:39 +0100
commitdd541886fe8899353f45842534c168e42b1ef9a0 (patch)
tree12486efa18e97e68888466eabdc352b173ca9246 /content/fetchers/about/certificate.h
parent4cbc8f16b65571364828bf12a54c9094b25513f6 (diff)
downloadnetsurf-dd541886fe8899353f45842534c168e42b1ef9a0.tar.gz
netsurf-dd541886fe8899353f45842534c168e42b1ef9a0.tar.bz2
split out about scheme certificate viewer generator
Diffstat (limited to 'content/fetchers/about/certificate.h')
-rw-r--r--content/fetchers/about/certificate.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/content/fetchers/about/certificate.h b/content/fetchers/about/certificate.h
new file mode 100644
index 000000000..80ac06853
--- /dev/null
+++ b/content/fetchers/about/certificate.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 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