#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/avutil.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/thread.h"
#include <openssl/bio.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
Go to the source code of this file.
|
int | ff_openssl_init (void) |
|
void | ff_openssl_deinit (void) |
|
static int | print_tls_error (URLContext *h, int ret) |
|
static int | tls_close (URLContext *h) |
|
static int | url_bio_create (BIO *b) |
|
static int | url_bio_destroy (BIO *b) |
|
static int | url_bio_bread (BIO *b, char *buf, int len) |
|
static int | url_bio_bwrite (BIO *b, const char *buf, int len) |
|
static long | url_bio_ctrl (BIO *b, int cmd, long num, void *ptr) |
|
static int | url_bio_bputs (BIO *b, const char *str) |
|
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) |
|
int ff_openssl_init |
( |
void |
| ) |
|
static int print_tls_error |
( |
URLContext * |
h, |
|
|
int |
ret |
|
) |
| |
|
static |
static int url_bio_create |
( |
BIO * |
b | ) |
|
|
static |
static int url_bio_destroy |
( |
BIO * |
b | ) |
|
|
static |
static int url_bio_bread |
( |
BIO * |
b, |
|
|
char * |
buf, |
|
|
int |
len |
|
) |
| |
|
static |
static int url_bio_bwrite |
( |
BIO * |
b, |
|
|
const char * |
buf, |
|
|
int |
len |
|
) |
| |
|
static |
static long url_bio_ctrl |
( |
BIO * |
b, |
|
|
int |
cmd, |
|
|
long |
num, |
|
|
void * |
ptr |
|
) |
| |
|
static |
static int url_bio_bputs |
( |
BIO * |
b, |
|
|
const char * |
str |
|
) |
| |
|
static |
BIO_METHOD url_bio_method |
|
static |
Initial value:= {
.type = BIO_TYPE_SOURCE_SINK,
.name = "urlprotocol bio",
}
static int url_bio_bwrite(BIO *b, const char *buf, int len)
static int url_bio_bread(BIO *b, char *buf, int len)
static int url_bio_bputs(BIO *b, const char *str)
static int url_bio_destroy(BIO *b)
static long url_bio_ctrl(BIO *b, int cmd, long num, void *ptr)
static int url_bio_create(BIO *b)
Definition at line 186 of file tls_openssl.c.
Initial value:= {
}
#define TLS_COMMON_OPTIONS(pstruct, options_field)
Definition at line 286 of file tls_openssl.c.
Initial value:= {
.class_name = "tls",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 291 of file tls_openssl.c.
Initial value:= {
.name = "tls",
}
#define URL_PROTOCOL_FLAG_NETWORK
static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **options)
static const AVClass tls_class
static int tls_write(URLContext *h, const uint8_t *buf, int size)
static int tls_read(URLContext *h, uint8_t *buf, int size)
static int tls_close(URLContext *h)
Definition at line 298 of file tls_openssl.c.