Dillo v3.1.1-119-g140d9ebd
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-2024 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
34const char *a_Tls_openssl_version(char *buf, int n);
35void a_Tls_openssl_init(void);
39void a_Tls_openssl_connect(int fd, const DilloUrl *url);
40void *a_Tls_openssl_connection(int fd);
41void a_Tls_openssl_freeall(void);
42void a_Tls_openssl_close_by_fd(int fd);
43int a_Tls_openssl_read(void *conn, void *buf, size_t len);
44int a_Tls_openssl_write(void *conn, void *buf, size_t len);
45
46#ifdef __cplusplus
47}
48#endif
49
50#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)
const char * a_Tls_openssl_version(char *buf, int n)
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)