#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 print_tls_error |
( |
URLContext * |
h, |
|
|
int |
ret |
|
) |
| |
|
static |
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 238 of file tls_gnutls.c.
Initial value:= {
.class_name = "tls",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 243 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)
Definition at line 250 of file tls_gnutls.c.