Dillo v3.1.1-119-g140d9ebd
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-2024 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
24const char *a_Tls_mbedtls_version(char *buf, int n);
25void a_Tls_mbedtls_init(void);
29void a_Tls_mbedtls_connect(int fd, const DilloUrl *url);
30void *a_Tls_mbedtls_connection(int fd);
31void a_Tls_mbedtls_freeall(void);
32void a_Tls_mbedtls_close_by_fd(int fd);
33int a_Tls_mbedtls_read(void *conn, void *buf, size_t len);
34int a_Tls_mbedtls_write(void *conn, void *buf, size_t len);
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* __TLS_MBEDTLS_H__ */
Definition url.h:88
const char * a_Tls_mbedtls_version(char *buf, int n)
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)