URLProtocol Struct Reference

#include <avio.h>

Data Fields

const char * name
int(* url_open )(URLContext *h, const char *url, int flags)
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 URLProtocolnext
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 AVClasspriv_data_class
int flags
int(* url_check )(URLContext *h, int mask)

Detailed Description

This struct is to be made private. Use the higher-level AVIOContext-based API instead.

Definition at line 122 of file avio.h.

Field Documentation

Definition at line 136 of file avio.h.

Referenced by ffurl_alloc().

const char* URLProtocol::name

Definition at line 123 of file avio.h.

Referenced by avio_enum_protocols(), ffurl_alloc(), ffurl_connect(), and opt_protocols().

Definition at line 135 of file avio.h.

Referenced by url_alloc_for_protocol().

Definition at line 134 of file avio.h.

Referenced by ffurl_close(), and url_alloc_for_protocol().

Referenced by avio_check().

Referenced by ffurl_close().

Referenced by ffurl_get_file_handle().

int(* URLProtocol::url_open)(URLContext *h, const char *url, int flags)

Referenced by ffurl_connect().

int(* URLProtocol::url_read)(URLContext *h, unsigned char *buf, int size)

int(* URLProtocol::url_read_pause)(URLContext *h, int pause)

Referenced by av_url_read_pause(), and ffio_fdopen().

int64_t(* URLProtocol::url_read_seek)(URLContext *h, int stream_index, int64_t timestamp, int flags)

Referenced by av_url_read_seek(), and ffio_fdopen().

int64_t(* URLProtocol::url_seek)(URLContext *h, int64_t pos, int whence)

Referenced by ffurl_seek(), and opt_protocols().

int(* URLProtocol::url_write)(URLContext *h, const unsigned char *buf, int size)

The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:38:25 2012 for FFmpeg by  doxygen 1.5.8