FFmpeg
|
#include <url.h>
const char* URLProtocol::name |
Definition at line 52 of file url.h.
Referenced by avio_enum_protocols(), avio_find_protocol_name(), ffurl_connect(), ffurl_get_protocols(), url_alloc_for_protocol(), and url_find_protocol().
int(* URLProtocol::url_open) (URLContext *h, const char *url, int flags) |
Definition at line 53 of file url.h.
Referenced by ffurl_connect().
int(* URLProtocol::url_open2) (URLContext *h, const char *url, int flags, AVDictionary **options) |
This callback is to be used by protocols which open further nested protocols.
options are then to be passed to ffurl_open_whitelist() or ffurl_connect() for those nested protocols.
Definition at line 59 of file url.h.
Referenced by ffurl_connect().
int(* URLProtocol::url_accept) (URLContext *s, URLContext **c) |
int(* URLProtocol::url_handshake) (URLContext *c) |
int(* URLProtocol::url_read) (URLContext *h, unsigned char *buf, int size) |
Read data from the protocol.
If data is immediately available (even less than size), EOF is reached or an error occurs (including EINTR), return immediately. Otherwise: In non-blocking mode, return AVERROR(EAGAIN) immediately. In blocking mode, wait for data/EOF/error with a short timeout (0.1s), and return AVERROR(EAGAIN) on timeout. Checking interrupt_callback, looping on EINTR and EAGAIN and until enough data has been read is left to the calling function; see retry_transfer_wrapper in avio.c.
Definition at line 75 of file url.h.
Referenced by avio_enum_protocols(), and url_alloc_for_protocol().
int(* URLProtocol::url_write) (URLContext *h, const unsigned char *buf, int size) |
Definition at line 76 of file url.h.
Referenced by avio_enum_protocols(), and url_alloc_for_protocol().
int(* URLProtocol::url_close) (URLContext *h) |
int(* URLProtocol::url_get_file_handle) (URLContext *h) |
int(* URLProtocol::url_get_multi_file_handle) (URLContext *h, int **handles, int *numhandles) |
int(* URLProtocol::url_get_short_seek) (URLContext *h) |
const AVClass* URLProtocol::priv_data_class |
Definition at line 87 of file url.h.
Referenced by url_alloc_for_protocol().
int URLProtocol::priv_data_size |
Definition at line 88 of file url.h.
Referenced by url_alloc_for_protocol().
int URLProtocol::flags |
Definition at line 89 of file url.h.
Referenced by url_alloc_for_protocol(), and url_find_protocol().
int(* URLProtocol::url_open_dir) (URLContext *h) |
int(* URLProtocol::url_read_dir) (URLContext *h, AVIODirEntry **next) |
int(* URLProtocol::url_close_dir) (URLContext *h) |
int(* URLProtocol::url_delete) (URLContext *h) |
int(* URLProtocol::url_move) (URLContext *h_src, URLContext *h_dst) |
Definition at line 95 of file url.h.
Referenced by ffurl_move().
const char* URLProtocol::default_whitelist |
Definition at line 96 of file url.h.
Referenced by ffurl_connect().