xine-lib 1.2.11
|
#include <stdlib.h>
#include <pthread.h>
#include <openssl/bio.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/io_helper.h>
#include <xine/xine_plugin.h>
#include "xine_tls_plugin.h"
Data Structures | |
struct | tls_openssl_t |
struct | openssl_class_t |
Macros | |
#define | LOG_MODULE "openssl" |
Functions | |
static int | _bio_read (BIO *b, char *buf, int len) |
static int | _bio_write (BIO *b, const char *buf, int len) |
static int | _bio_puts (BIO *b, const char *str) |
static long | _bio_ctrl (BIO *b, int cmd, long num, void *ptr) |
static int | _bio_create (BIO *b) |
static int | _bio_destroy (BIO *b) |
static BIO * | _bio_new (tls_openssl_t *this) |
static ssize_t | _openssl_write (tls_plugin_t *this_gen, const void *buf, size_t len) |
static ssize_t | _openssl_read (tls_plugin_t *this_gen, void *buf, size_t len) |
static ssize_t | _openssl_part_read (tls_plugin_t *this_gen, void *buf, size_t min, size_t max) |
static void | _openssl_shutdown (tls_plugin_t *this_gen) |
static int | _openssl_handshake (tls_plugin_t *this_gen, const char *host, int verify) |
static void | _openssl_dispose (xine_module_t *this_gen) |
static xine_module_t * | _openssl_get_instance (xine_module_class_t *cls_gen, const void *params_gen) |
static void | _openssl_class_dispose (xine_module_class_t *cls_gen) |
static void * | _openssl_init_class (xine_t *xine, const void *data) |
Variables | |
static const xine_module_info_t | module_info_openssl |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define LOG_MODULE "openssl" |
|
static |
References NULL.
Referenced by _bio_new().
|
static |
Referenced by _bio_new().
|
static |
Referenced by _bio_new().
|
static |
References _bio_create(), _bio_ctrl(), _bio_destroy(), _bio_puts(), _bio_read(), _bio_write(), _x_assert, and NULL.
Referenced by _openssl_handshake().
|
static |
References _bio_write().
Referenced by _bio_new().
|
static |
References _x_io_tcp_read().
Referenced by _bio_new().
|
static |
References _x_io_tcp_write().
Referenced by _bio_new(), and _bio_puts().
|
static |
References openssl_class_t::lock.
Referenced by _openssl_init_class().
|
static |
References _openssl_shutdown().
Referenced by _openssl_get_instance().
|
static |
References _openssl_dispose(), _openssl_handshake(), _openssl_part_read(), _openssl_read(), _openssl_shutdown(), _openssl_write(), tls_plugin_params_t::fd, openssl_class_t::inited, openssl_class_t::lock, NULL, tls_plugin_params_t::stream, and tls_plugin_params_t::xine.
Referenced by _openssl_init_class().
|
static |
References _bio_new(), _openssl_shutdown(), _x_assert, LOG_MODULE, NULL, tls_get_verify_tls_cert(), XINE_VERBOSITY_LOG, and xprintf.
Referenced by _openssl_get_instance().
|
static |
References _openssl_class_dispose(), _openssl_get_instance(), xine_s::config, N_, NULL, and tls_register_config_keys().
|
static |
References LOG_MODULE, NULL, XINE_VERBOSITY_LOG, and xprintf.
Referenced by _openssl_get_instance().
|
static |
References LOG_MODULE, NULL, XINE_VERBOSITY_LOG, and xprintf.
Referenced by _openssl_get_instance().
|
static |
References NULL.
Referenced by _openssl_dispose(), _openssl_get_instance(), and _openssl_handshake().
|
static |
References LOG_MODULE, NULL, XINE_VERBOSITY_LOG, and xprintf.
Referenced by _openssl_get_instance().
const plugin_info_t xine_plugin_info [] EXPORTED |
|
static |