diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-12-28 16:14:19 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-12-28 16:14:19 +0000 |
commit | 96e073a29777bbe927f0bc7187f7032d3f51e68b (patch) | |
tree | a74404287ae531793095126a3499f2d4d34c98fe /frontends/riscos/sslcert.h | |
parent | 770c277ccc182f504be0a316390d59c05a59e041 (diff) | |
parent | af6139bcb5845d4cdbc852b113ac8fabcee29097 (diff) | |
download | netsurf-96e073a29777bbe927f0bc7187f7032d3f51e68b.tar.gz netsurf-96e073a29777bbe927f0bc7187f7032d3f51e68b.tar.bz2 |
Merge branch 'vince/ro-corewindow'
Conflicts:
frontends/riscos/sslcert.h
Diffstat (limited to 'frontends/riscos/sslcert.h')
-rw-r--r-- | frontends/riscos/sslcert.h | 26 |
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 |