summaryrefslogtreecommitdiff
path: root/frontends/riscos/sslcert.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/riscos/sslcert.h')
-rw-r--r--frontends/riscos/sslcert.h26
1 files changed, 20 insertions, 6 deletions
diff --git a/frontends/riscos/sslcert.h b/frontends/riscos/sslcert.h
index 514b5190c..09607f04c 100644
--- a/frontends/riscos/sslcert.h
+++ b/frontends/riscos/sslcert.h
@@ -17,17 +17,31 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/** \file
- * SSL certificate viewer (interface).
+/**
+ * \file
+ * RISC OS SSL certificate viewer interface.
*/
-#ifndef _NETSURF_RISCOS_SSLCERT_H_
-#define _NETSURF_RISCOS_SSLCERT_H_
+#ifndef NETSURF_RISCOS_SSLCERT_H
+#define NETSURF_RISCOS_SSLCERT_H
struct node;
-void ro_gui_cert_preinitialise(void);
-void ro_gui_cert_postinitialise(void);
+/**
+ * Load and initialise the certificate window template.
+ */
+void ro_gui_cert_initialise(void);
+
+/**
+ * Prompt the user to verify a certificate with issuse.
+ *
+ * \param url The URL being verified.
+ * \param certs The certificate to be verified
+ * \param num The number of certificates to be verified.
+ * \param cb Callback upon user decision.
+ * \param cbpw Context pointer passed to cb
+ */
+nserror gui_cert_verify(struct nsurl *url, const struct ssl_cert_info *certs, unsigned long num, nserror (*cb)(bool proceed, void *pw), void *cbpw);
#endif