libavformat/tcp.c File Reference

#include "avformat.h"
#include <unistd.h>
#include "network.h"
#include "os_support.h"
#include <sys/time.h>

Go to the source code of this file.

Data Structures

struct  TCPContext

Functions

static int tcp_open (URLContext *h, const char *uri, int flags)
static int tcp_read (URLContext *h, uint8_t *buf, int size)
static int tcp_write (URLContext *h, uint8_t *buf, int size)
static int tcp_close (URLContext *h)

Variables

URLProtocol tcp_protocol


Function Documentation

static int tcp_close ( URLContext h  )  [static]

Definition at line 175 of file tcp.c.

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

Definition at line 35 of file tcp.c.

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

Definition at line 112 of file tcp.c.

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

Definition at line 141 of file tcp.c.


Variable Documentation

Initial value:

 {
    "tcp",
    tcp_open,
    tcp_read,
    tcp_write,
    NULL, 
    tcp_close,
}

Definition at line 184 of file tcp.c.


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