diff options
Diffstat (limited to 'frontends/monkey/cert.h')
-rw-r--r-- | frontends/monkey/cert.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/frontends/monkey/cert.h b/frontends/monkey/cert.h new file mode 100644 index 000000000..283817f3d --- /dev/null +++ b/frontends/monkey/cert.h @@ -0,0 +1,28 @@ +/* + * Copyright 2012 Vincent Sanders <vince@netsurf-browser.org> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * 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/>. + */ + +#ifndef _NETSURF_MONKEY_CERT_H_ +#define _NETSURF_MONKEY_CERT_H_ + +struct ssl_cert_info; + +void gui_cert_verify(nsurl *url, const struct ssl_cert_info *certs, + unsigned long num, nserror (*cb)(bool proceed, void *pw), + void *cbpw); + +#endif |