#include <url.h>
Data Fields | |
const char * | name |
int(* | url_open )(URLContext *h, const char *url, int flags) |
int(* | url_open2 )(URLContext *h, const char *url, int flags, AVDictionary **options) |
This callback is to be used by protocols which open further nested protocols. | |
int(* | url_read )(URLContext *h, unsigned char *buf, int size) |
int(* | url_write )(URLContext *h, const unsigned char *buf, int size) |
int64_t(* | url_seek )(URLContext *h, int64_t pos, int whence) |
int(* | url_close )(URLContext *h) |
struct URLProtocol * | next |
int(* | url_read_pause )(URLContext *h, int pause) |
int64_t(* | url_read_seek )(URLContext *h, int stream_index, int64_t timestamp, int flags) |
int(* | url_get_file_handle )(URLContext *h) |
int | priv_data_size |
const AVClass * | priv_data_class |
int | flags |
int(* | url_check )(URLContext *h, int mask) |
int URLProtocol::flags |
Definition at line 74 of file url.h.
Referenced by ffurl_alloc(), ffurl_close(), and url_alloc_for_protocol().
const char* URLProtocol::name |
Definition at line 55 of file url.h.
Referenced by ffurl_alloc(), ffurl_connect(), and urlcontext_to_name().
struct URLProtocol* URLProtocol::next |
Definition at line 67 of file url.h.
Referenced by ffurl_protocol_next(), and ffurl_register_protocol().
const AVClass* URLProtocol::priv_data_class |
Definition at line 73 of file url.h.
Referenced by ffurl_close(), url_alloc_for_protocol(), urlcontext_child_class_next(), and urlcontext_child_next().
int URLProtocol::priv_data_size |
Definition at line 72 of file url.h.
Referenced by ffurl_close(), and url_alloc_for_protocol().
int(* URLProtocol::url_check)(URLContext *h, int mask) |
Definition at line 75 of file url.h.
Referenced by avio_check().
int(* URLProtocol::url_close)(URLContext *h) |
Definition at line 66 of file url.h.
Referenced by ffurl_close().
int(* URLProtocol::url_get_file_handle)(URLContext *h) |
Definition at line 71 of file url.h.
Referenced by ffurl_get_file_handle().
int(* URLProtocol::url_open)(URLContext *h, const char *url, int flags) |
Definition at line 56 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()/ffurl_connect() for those nested protocols.
Definition at line 62 of file url.h.
Referenced by ffurl_connect().
int(* URLProtocol::url_read)(URLContext *h, unsigned char *buf, int size) |
Definition at line 63 of file url.h.
Referenced by ffurl_read(), and ffurl_read_complete().
int(* URLProtocol::url_read_pause)(URLContext *h, int pause) |
Definition at line 68 of file url.h.
Referenced by ffio_fdopen().
int64_t(* URLProtocol::url_read_seek)(URLContext *h, int stream_index, int64_t timestamp, int flags) |
Definition at line 69 of file url.h.
Referenced by ffio_fdopen().
int64_t(* URLProtocol::url_seek)(URLContext *h, int64_t pos, int whence) |
Definition at line 65 of file url.h.
Referenced by ffurl_seek().
int(* URLProtocol::url_write)(URLContext *h, const unsigned char *buf, int size) |
Definition at line 64 of file url.h.
Referenced by ffurl_write().