wget2: ssl_gnutls.c File Reference

| wget2 2.2.1

Loading...
Searching...
No Matches
ssl_gnutls.c File Reference

Functions for establishing and managing SSL/TLS connections. More...

`#include <config.h>`
`#include <unistd.h>`
`#include <stdio.h>`
`#include <string.h>`
`#include <dirent.h>`
`#include <sys/stat.h>`
`#include <errno.h>`
`#include <gnutls/gnutls.h>`
`#include <gnutls/x509.h>`
`#include <gnutls/crypto.h>`
`#include <gnutls/abstract.h>`
`#include <wget.h>`
`#include "private.h"`
`#include "net.h"`

## Data Structures
struct | config
struct | session_context

## Macros
#define | error_printf_check(...)
#define | TLS13_PRIO ""

## Functions
void | wget_ssl_set_config_string (int key, const char *value)
void | wget_ssl_set_config_object (int key, void *value)
void | wget_ssl_set_config_int (int key, int value)
| INITIALIZER (tls_init)
void | wget_ssl_init (void)
void | wget_ssl_deinit (void)
int | wget_ssl_open (wget_tcp *tcp)
void | wget_ssl_close (void **session)
ssize_t | wget_ssl_read_timeout (void *session, char *buf, size_t count, int timeout)
ssize_t | wget_ssl_write_timeout (void *session, const char *buf, size_t count, int timeout)
void | wget_ssl_set_stats_callback_tls (wget_tls_stats_callback *fn, void *ctx)
void | wget_ssl_set_stats_callback_ocsp (wget_ocsp_stats_callback *fn, void *ctx)

## Detailed Description

Functions for establishing and managing SSL/TLS connections.