#include "libavutil/avstring.h"
#include "avformat.h"
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <stdlib.h>
#include "os_support.h"
#include "url.h"
Go to the source code of this file.
Functions |
static int | file_read (URLContext *h, unsigned char *buf, int size) |
static int | file_write (URLContext *h, const unsigned char *buf, int size) |
static int | file_get_handle (URLContext *h) |
static int | file_check (URLContext *h, int mask) |
static int | file_open (URLContext *h, const char *filename, int flags) |
static int64_t | file_seek (URLContext *h, int64_t pos, int whence) |
static int | file_close (URLContext *h) |
static int | pipe_open (URLContext *h, const char *filename, int flags) |
Variables |
URLProtocol | ff_file_protocol |
URLProtocol | ff_pipe_protocol |
Function Documentation
static int file_check |
( |
URLContext * |
h, |
|
|
int |
mask | |
|
) |
| | [static] |
static int file_get_handle |
( |
URLContext * |
h |
) |
[static] |
static int file_open |
( |
URLContext * |
h, |
|
|
const char * |
filename, |
|
|
int |
flags | |
|
) |
| | [static] |
static int file_read |
( |
URLContext * |
h, |
|
|
unsigned char * |
buf, |
|
|
int |
size | |
|
) |
| | [static] |
static int64_t file_seek |
( |
URLContext * |
h, |
|
|
int64_t |
pos, |
|
|
int |
whence | |
|
) |
| | [static] |
static int file_write |
( |
URLContext * |
h, |
|
|
const unsigned char * |
buf, |
|
|
int |
size | |
|
) |
| | [static] |
static int pipe_open |
( |
URLContext * |
h, |
|
|
const char * |
filename, |
|
|
int |
flags | |
|
) |
| | [static] |
Variable Documentation
Initial value: {
.name = "file",
.url_open = file_open,
.url_read = file_read,
.url_write = file_write,
.url_seek = file_seek,
.url_close = file_close,
.url_get_file_handle = file_get_handle,
.url_check = file_check,
}
Definition at line 111 of file file.c.
Initial value: {
.name = "pipe",
.url_open = pipe_open,
.url_read = file_read,
.url_write = file_write,
.url_get_file_handle = file_get_handle,
.url_check = file_check,
}
Definition at line 148 of file file.c.