summaryrefslogtreecommitdiff
path: root/frontends/amiga/sslcert.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-01-02 12:57:07 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-01-02 12:57:07 +0000
commita9cc0792a43d108e5ff61055354422a6c7218a74 (patch)
tree872f039a38f221c86403c1d7020b38c5d5a07056 /frontends/amiga/sslcert.h
parentdab118b6f7e9a22ed01413a2ce2fd60e4c4df97b (diff)
downloadnetsurf-a9cc0792a43d108e5ff61055354422a6c7218a74.tar.gz
netsurf-a9cc0792a43d108e5ff61055354422a6c7218a74.tar.bz2
migrate sslcert to use corewindow
predictably blank
Diffstat (limited to 'frontends/amiga/sslcert.h')
-rw-r--r--frontends/amiga/sslcert.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/frontends/amiga/sslcert.h b/frontends/amiga/sslcert.h
index 86ce9c476..4718e754c 100644
--- a/frontends/amiga/sslcert.h
+++ b/frontends/amiga/sslcert.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2009 Chris Young <chris@unsatisfactorysoftware.co.uk>
+ * Copyright 2017 Chris Young <chris@unsatisfactorysoftware.co.uk>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
@@ -18,11 +18,21 @@
#ifndef AMIGA_SSLCERT_H
#define AMIGA_SSLCERT_H
+struct nsurl;
+struct ssl_cert_info;
-nserror gui_cert_verify(nsurl *url,
+/**
+ * Prompt the user to verify a certificate with issues.
+ *
+ * \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
+ * \return NSERROR_OK or error code if prompt creation failed.
+ */
+nserror ami_cert_verify(struct nsurl *url,
const struct ssl_cert_info *certs, unsigned long num,
nserror (*cb)(bool proceed, void *pw), void *cbpw);
-
-void ami_ssl_free(struct treeview_window *twin);
-
#endif
+