Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
tls_mbedtls.h
Go to the documentation of this file.
1/*
2 * File: tls_mbedtls.h
3 *
4 * Copyright (C) 2011 Benjamin Johnson <obeythepenguin@users.sourceforge.net>
5 * (for the https code offered from dplus browser that formed the basis...)
6 * Copyright 2016 corvid
7 * Copyright (C) 2023 Rodrigo Arias Mallo <rodarima@gmail.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 3 of the License, or
12 * (at your option) any later version.
13 */
14
15#ifndef __TLS_MBEDTLS_H__
16#define __TLS_MBEDTLS_H__
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include "../url.h"
23
24void a_Tls_mbedtls_init(void);
28void a_Tls_mbedtls_connect(int fd, const DilloUrl *url);
29void *a_Tls_mbedtls_connection(int fd);
30void a_Tls_mbedtls_freeall(void);
31void a_Tls_mbedtls_close_by_fd(int fd);
32int a_Tls_mbedtls_read(void *conn, void *buf, size_t len);
33int a_Tls_mbedtls_write(void *conn, void *buf, size_t len);
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif /* __TLS_MBEDTLS_H__ */
Definition url.h:88
int a_Tls_mbedtls_certificate_is_clean(const DilloUrl *url)
void * a_Tls_mbedtls_connection(int fd)
void a_Tls_mbedtls_init(void)
void a_Tls_mbedtls_reset_server_state(const DilloUrl *url)
void a_Tls_mbedtls_freeall(void)
void a_Tls_mbedtls_close_by_fd(int fd)
int a_Tls_mbedtls_write(void *conn, void *buf, size_t len)
int a_Tls_mbedtls_read(void *conn, void *buf, size_t len)
int a_Tls_mbedtls_connect_ready(const DilloUrl *url)
void a_Tls_mbedtls_connect(int fd, const DilloUrl *url)