#include <errno.h>
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#include "avformat.h"
#include "network.h"
#include "os_support.h"
#include "url.h"
#include "tls.h"
#include "libavutil/opt.h"
#include "libavutil/thread.h"
Go to the source code of this file.
|
void | ff_gnutls_init (void) |
|
void | ff_gnutls_deinit (void) |
|
static int | print_tls_error (URLContext *h, int ret) |
|
static int | tls_close (URLContext *h) |
|
static ssize_t | gnutls_url_pull (gnutls_transport_ptr_t transport, void *buf, size_t len) |
|
static ssize_t | gnutls_url_push (gnutls_transport_ptr_t transport, const void *buf, size_t len) |
|
static int | tls_open (URLContext *h, const char *uri, int flags, AVDictionary **options) |
|
static int | tls_read (URLContext *h, uint8_t *buf, int size) |
|
static int | tls_write (URLContext *h, const uint8_t *buf, int size) |
|
static int | tls_get_file_handle (URLContext *h) |
|
static int | tls_get_short_seek (URLContext *h) |
|
◆ GNUTLS_VERSION_NUMBER
#define GNUTLS_VERSION_NUMBER LIBGNUTLS_VERSION_NUMBER |
◆ ff_gnutls_init()
void ff_gnutls_init |
( |
void |
| ) |
|
◆ ff_gnutls_deinit()
void ff_gnutls_deinit |
( |
void |
| ) |
|
◆ print_tls_error()
static int print_tls_error |
( |
URLContext * |
h, |
|
|
int |
ret |
|
) |
| |
|
static |
◆ tls_close()
◆ gnutls_url_pull()
static ssize_t gnutls_url_pull |
( |
gnutls_transport_ptr_t |
transport, |
|
|
void * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ gnutls_url_push()
static ssize_t gnutls_url_push |
( |
gnutls_transport_ptr_t |
transport, |
|
|
const void * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ tls_open()
◆ tls_read()
static int tls_read |
( |
URLContext * |
h, |
|
|
uint8_t * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ tls_write()
static int tls_write |
( |
URLContext * |
h, |
|
|
const uint8_t * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ tls_get_file_handle()
◆ tls_get_short_seek()
◆ gnutls_mutex
◆ options
◆ tls_class
Initial value:= {
.class_name = "tls",
}
Definition at line 293 of file tls_gnutls.c.
◆ ff_tls_protocol