libavformat/tcp.c File Reference

#include "avformat.h"
#include <unistd.h>
#include "internal.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)
static int tcp_get_file_handle (URLContext *h)

Variables

URLProtocol tcp_protocol


Function Documentation

static int tcp_close ( URLContext h  )  [static]

Definition at line 193 of file tcp.c.

static int tcp_get_file_handle ( URLContext h  )  [static]

Definition at line 201 of file tcp.c.

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

Definition at line 36 of file tcp.c.

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

Definition at line 126 of file tcp.c.

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

Definition at line 157 of file tcp.c.


Variable Documentation

Initial value:

 {
    "tcp",
    tcp_open,
    tcp_read,
    tcp_write,
    NULL, 
    tcp_close,
    .url_get_file_handle = tcp_get_file_handle,
}

Definition at line 207 of file tcp.c.


Generated on Fri Oct 26 02:36:55 2012 for FFmpeg by  doxygen 1.5.8