file.c File Reference

Go to the source code of this file.

Functions

static int file_open (URLContext *h, const char *filename, int flags)
static int file_read (URLContext *h, unsigned char *buf, int size)
static int file_write (URLContext *h, unsigned char *buf, int size)
static offset_t file_seek (URLContext *h, offset_t pos, int whence)
static int file_close (URLContext *h)
static int pipe_open (URLContext *h, const char *filename, int flags)

Variables

URLProtocol file_protocol
URLProtocol pipe_protocol


Function Documentation

static int file_open ( URLContext h,
const char *  filename,
int  flags 
) [static]

Definition at line 31 of file file.c.

Referenced by dvdinput_setup().

static int file_read ( URLContext h,
unsigned char *  buf,
int  size 
) [static]

Definition at line 55 of file file.c.

Referenced by dvdinput_setup().

static int file_write ( URLContext h,
unsigned char *  buf,
int  size 
) [static]

Definition at line 61 of file file.c.

static offset_t file_seek ( URLContext h,
offset_t  pos,
int  whence 
) [static]

Definition at line 68 of file file.c.

Referenced by dvdinput_setup().

static int file_close ( URLContext h  )  [static]

Definition at line 74 of file file.c.

Referenced by dvdinput_setup().

static int pipe_open ( URLContext h,
const char *  filename,
int  flags 
) [static]

Definition at line 91 of file file.c.


Variable Documentation

Initial value:

Definition at line 80 of file file.c.

Initial value:

 {
    "pipe",
    pipe_open,
    file_read,
    file_write,
}

Definition at line 113 of file file.c.


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5