#include <errno.h>
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#include "avformat.h"
#include "internal.h"
#include "network.h"
#include "os_support.h"
#include "url.h"
#include "tls.h"
#include "libavcodec/internal.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.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 ssize_t gnutls_url_pull |
( |
gnutls_transport_ptr_t |
transport, |
|
|
void * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
static ssize_t gnutls_url_push |
( |
gnutls_transport_ptr_t |
transport, |
|
|
const void * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
Initial value:= {
}
#define TLS_COMMON_OPTIONS(pstruct, options_field)
Definition at line 244 of file tls_gnutls.c.
Initial value:= {
.class_name = "tls",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 249 of file tls_gnutls.c.
Initial value:= {
.name = "tls",
}
#define URL_PROTOCOL_FLAG_NETWORK
static const AVClass tls_class
static int tls_read(URLContext *h, uint8_t *buf, int size)
static int tls_close(URLContext *h)
static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **options)
static int tls_write(URLContext *h, const uint8_t *buf, int size)
static int tls_get_file_handle(URLContext *h)
Definition at line 256 of file tls_gnutls.c.