#include "avformat.h"
#include "internal.h"
#include "network.h"
#include "url.h"
#include "tls.h"
#include "libavcodec/internal.h"
#include "libavutil/avutil.h"
#include "libavutil/opt.h"
Go to the source code of this file.
|
static int | ff_tls_close (URLContext *h) |
|
static ssize_t | tls_read_callback (struct tls *ctx, void *buf, size_t buflen, void *cb_arg) |
|
static ssize_t | tls_write_callback (struct tls *ctx, const void *buf, size_t buflen, void *cb_arg) |
|
static int | ff_tls_open (URLContext *h, const char *uri, int flags, AVDictionary **options) |
|
static int | ff_tls_read (URLContext *h, uint8_t *buf, int size) |
|
static int | ff_tls_write (URLContext *h, const uint8_t *buf, int size) |
|
static int | tls_get_file_handle (URLContext *h) |
|
◆ ff_tls_close()
◆ tls_read_callback()
static ssize_t tls_read_callback |
( |
struct tls * |
ctx, |
|
|
void * |
buf, |
|
|
size_t |
buflen, |
|
|
void * |
cb_arg |
|
) |
| |
|
static |
◆ tls_write_callback()
static ssize_t tls_write_callback |
( |
struct tls * |
ctx, |
|
|
const void * |
buf, |
|
|
size_t |
buflen, |
|
|
void * |
cb_arg |
|
) |
| |
|
static |
◆ ff_tls_open()
◆ ff_tls_read()
◆ ff_tls_write()
◆ tls_get_file_handle()
◆ options
Initial value:= {
}
#define TLS_COMMON_OPTIONS(pstruct, options_field)
Definition at line 185 of file tls_libtls.c.
◆ tls_class
Initial value:= {
.class_name = "tls",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 190 of file tls_libtls.c.
◆ ff_tls_protocol
Initial value:= {
.name = "tls",
}
#define URL_PROTOCOL_FLAG_NETWORK
static int ff_tls_read(URLContext *h, uint8_t *buf, int size)
static int tls_get_file_handle(URLContext *h)
static int ff_tls_open(URLContext *h, const char *uri, int flags, AVDictionary **options)
static const AVClass tls_class
static int ff_tls_write(URLContext *h, const uint8_t *buf, int size)
static int ff_tls_close(URLContext *h)
Definition at line 197 of file tls_libtls.c.