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, 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)


Detailed Description

Definition at line 223 of file avio.h.


Field Documentation

const char * URLProtocol::name

Definition at line 224 of file avio.h.

Referenced by show_protocols(), url_open(), and url_open_protocol().

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

Referenced by url_open_protocol().

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

Referenced by url_read().

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

Referenced by url_write().

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

Referenced by url_seek().

int(* URLProtocol::url_close)(URLContext *h) ( URLContext h  ) 

Referenced by url_close().

struct URLProtocol * URLProtocol::next [read]

Definition at line 230 of file avio.h.

Referenced by av_protocol_next(), av_register_protocol(), and url_open().

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

Referenced by av_url_read_pause(), and url_fdopen().

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

Referenced by av_url_read_seek(), and url_fdopen().

Referenced by url_get_file_handle().


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

Generated on Tue Apr 20 17:40:13 2010 for FFmpeg by  doxygen 1.5.6