FFmpeg
4.0
|
#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.
Data Structures | |
struct | TLSContext |
Macros | |
#define | GET_BIO_DATA(x) (x)->ptr |
Functions | |
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) |
static int | tls_get_file_handle (URLContext *h) |
Variables | |
static int | openssl_init |
static BIO_METHOD | url_bio_method |
static const AVOption | options [] |
static const AVClass | tls_class |
const URLProtocol | ff_tls_protocol |
#define GET_BIO_DATA | ( | x | ) | (x)->ptr |
Definition at line 170 of file tls_openssl.c.
Referenced by url_bio_bread(), and url_bio_bwrite().
Definition at line 69 of file tls_openssl.c.
Referenced by ff_tls_init(), and tls_open().
Definition at line 99 of file tls_openssl.c.
Referenced by ff_tls_deinit(), and tls_close().
|
static |
Definition at line 117 of file tls_openssl.c.
Referenced by tls_open(), tls_read(), and tls_write().
|
static |
Definition at line 129 of file tls_openssl.c.
Referenced by tls_open().
|
static |
Definition at line 148 of file tls_openssl.c.
Referenced by tls_open().
|
static |
Definition at line 162 of file tls_openssl.c.
Referenced by tls_open().
Definition at line 173 of file tls_openssl.c.
Referenced by tls_open().
Definition at line 187 of file tls_openssl.c.
Referenced by tls_open(), and url_bio_bputs().
Definition at line 201 of file tls_openssl.c.
Referenced by tls_open().
|
static |
Definition at line 210 of file tls_openssl.c.
Referenced by tls_open().
|
static |
Definition at line 229 of file tls_openssl.c.
|
static |
Definition at line 312 of file tls_openssl.c.
|
static |
Definition at line 327 of file tls_openssl.c.
|
static |
Definition at line 342 of file tls_openssl.c.
|
static |
Definition at line 39 of file tls_openssl.c.
Referenced by ff_openssl_deinit(), and ff_openssl_init().
|
static |
Definition at line 216 of file tls_openssl.c.
Referenced by tls_open().
|
static |
Definition at line 348 of file tls_openssl.c.
|
static |
Definition at line 353 of file tls_openssl.c.
const URLProtocol ff_tls_protocol |
Definition at line 360 of file tls_openssl.c.