libavformat/tls.c File Reference

#include "avformat.h"
#include "url.h"
#include "libavutil/avstring.h"
#include "libavutil/parseutils.h"
#include "network.h"
#include "os_support.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  TLSContext

Functions

static int do_tls_poll (URLContext *h, int ret)
static void set_options (URLContext *h, const char *uri)
static int tls_open (URLContext *h, const char *uri, int flags)
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_close (URLContext *h)

Variables

URLProtocol ff_tls_protocol


Function Documentation

static int do_tls_poll ( URLContext h,
int  ret 
) [static]

Definition at line 71 of file tls.c.

Referenced by tls_open(), tls_read(), and tls_write().

static void set_options ( URLContext h,
const char *  uri 
) [static]

Definition at line 107 of file tls.c.

static int tls_close ( URLContext h  )  [static]

Definition at line 291 of file tls.c.

static int tls_open ( URLContext h,
const char *  uri,
int  flags 
) [static]

Definition at line 158 of file tls.c.

static int tls_read ( URLContext h,
uint8_t buf,
int  size 
) [static]

Definition at line 261 of file tls.c.

static int tls_write ( URLContext h,
const uint8_t buf,
int  size 
) [static]

Definition at line 276 of file tls.c.


Variable Documentation

Initial value:

 {
    .name           = "tls",
    .url_open       = tls_open,
    .url_read       = tls_read,
    .url_write      = tls_write,
    .url_close      = tls_close,
    .priv_data_size = sizeof(TLSContext),
    .flags          = URL_PROTOCOL_FLAG_NETWORK,
}

Definition at line 301 of file tls.c.


Generated on Fri Oct 26 02:50:11 2012 for FFmpeg by  doxygen 1.5.8