Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
tls_openssl.h
Go to the documentation of this file.
1/*
2 * File: tls_openssl.h
3 *
4 * Copyright 2004 Garrett Kajmowicz <gkajmowi@tbaytel.net>
5 * (for some bits derived from the https dpi, e.g., certificate handling)
6 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
7 * 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
8 * (for the certificate hostname checking from wget)
9 * Copyright (C) 2011 Benjamin Johnson <obeythepenguin@users.sourceforge.net>
10 * (for the https code offered from dplus browser that formed the basis...)
11 * Copyright (C) 2023 Rodrigo Arias Mallo <rodarima@gmail.com>
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * As a special exception, permission is granted to link Dillo with the OpenSSL
19 * or LibreSSL library, and distribute the linked executables without
20 * including the source code for OpenSSL or LibreSSL in the source
21 * distribution. You must obey the GNU General Public License, version 3, in
22 * all respects for all of the code used other than OpenSSL or LibreSSL.
23 */
24
25#ifndef __TLS_OPENSSL_H__
26#define __TLS_OPENSSL_H__
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#include "../url.h"
33
34void a_Tls_openssl_init(void);
38void a_Tls_openssl_connect(int fd, const DilloUrl *url);
39void *a_Tls_openssl_connection(int fd);
40void a_Tls_openssl_freeall(void);
41void a_Tls_openssl_close_by_fd(int fd);
42int a_Tls_openssl_read(void *conn, void *buf, size_t len);
43int a_Tls_openssl_write(void *conn, void *buf, size_t len);
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif /* __TLS_OPENSSL_H__ */
Definition url.h:88
void a_Tls_openssl_reset_server_state(const DilloUrl *url)
int a_Tls_openssl_read(void *conn, void *buf, size_t len)
void * a_Tls_openssl_connection(int fd)
int a_Tls_openssl_connect_ready(const DilloUrl *url)
void a_Tls_openssl_init(void)
void a_Tls_openssl_close_by_fd(int fd)
void a_Tls_openssl_connect(int fd, const DilloUrl *url)
int a_Tls_openssl_certificate_is_clean(const DilloUrl *url)
void a_Tls_openssl_freeall(void)
int a_Tls_openssl_write(void *conn, void *buf, size_t len)