libavformat/tls.c File Reference

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

Go to the source code of this file.

Data Structures

struct  TLSContext


static int do_tls_poll (URLContext *h, int ret)
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)


URLProtocol ff_tls_protocol

Function Documentation

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

Definition at line 70 of file tls.c.

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

static int tls_close ( URLContext h  )  [static]

Definition at line 234 of file tls.c.

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

Definition at line 106 of file tls.c.

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

Definition at line 204 of file tls.c.

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

Definition at line 219 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 244 of file tls.c.

Generated on Fri Oct 26 02:46:13 2012 for FFmpeg by  doxygen 1.5.8