Old url_ functions
[I/O Read/Write]

The following functions are deprecated. More...


Functions

attribute_deprecated int url_open_protocol (URLContext **puc, struct URLProtocol *up, const char *url, int flags)
attribute_deprecated int url_alloc (URLContext **h, const char *url, int flags)
attribute_deprecated int url_connect (URLContext *h)
attribute_deprecated int url_open (URLContext **h, const char *url, int flags)
attribute_deprecated int url_read (URLContext *h, unsigned char *buf, int size)
attribute_deprecated int url_read_complete (URLContext *h, unsigned char *buf, int size)
attribute_deprecated int url_write (URLContext *h, const unsigned char *buf, int size)
attribute_deprecated int64_t url_seek (URLContext *h, int64_t pos, int whence)
attribute_deprecated int url_close (URLContext *h)
attribute_deprecated int64_t url_filesize (URLContext *h)
attribute_deprecated int url_get_file_handle (URLContext *h)
attribute_deprecated int url_get_max_packet_size (URLContext *h)
attribute_deprecated void url_get_filename (URLContext *h, char *buf, int buf_size)
attribute_deprecated int av_url_read_pause (URLContext *h, int pause)
attribute_deprecated int64_t av_url_read_seek (URLContext *h, int stream_index, int64_t timestamp, int flags)
attribute_deprecated void url_set_interrupt_cb (int(*interrupt_cb)(void))
URLProtocolav_protocol_next (URLProtocol *p)
 returns the next registered protocol after the given protocol (the first if NULL is given), or NULL if protocol is the last one.
attribute_deprecated int av_register_protocol2 (URLProtocol *protocol, int size)
 Register the URLProtocol protocol.


Detailed Description

The following functions are deprecated.

Use the buffered API based on AVIOContext instead.


Function Documentation

URLProtocol* av_protocol_next ( URLProtocol p  ) 

returns the next registered protocol after the given protocol (the first if NULL is given), or NULL if protocol is the last one.

Definition at line 92 of file avio.c.

Referenced by opt_protocols().

attribute_deprecated int av_register_protocol2 ( URLProtocol protocol,
int  size 
)

Register the URLProtocol protocol.

Parameters:
size the size of the URLProtocol struct referenced

Definition at line 276 of file avio.c.

attribute_deprecated int av_url_read_pause ( URLContext h,
int  pause 
)

Definition at line 502 of file avio.c.

attribute_deprecated int64_t av_url_read_seek ( URLContext h,
int  stream_index,
int64_t  timestamp,
int  flags 
)

Definition at line 509 of file avio.c.

attribute_deprecated int url_alloc ( URLContext **  h,
const char *  url,
int  flags 
)

Definition at line 224 of file avio.c.

attribute_deprecated int url_close ( URLContext h  ) 

Definition at line 252 of file avio.c.

Referenced by close_connection(), and rtp_new_av_stream().

attribute_deprecated int url_connect ( URLContext h  ) 

Definition at line 228 of file avio.c.

attribute_deprecated int64_t url_filesize ( URLContext h  ) 

Definition at line 256 of file avio.c.

attribute_deprecated int url_get_file_handle ( URLContext h  ) 

Definition at line 260 of file avio.c.

attribute_deprecated void url_get_filename ( URLContext h,
char *  buf,
int  buf_size 
)

Definition at line 268 of file avio.c.

attribute_deprecated int url_get_max_packet_size ( URLContext h  ) 

Definition at line 264 of file avio.c.

Referenced by http_prepare_data(), and rtp_new_av_stream().

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

Definition at line 232 of file avio.c.

Referenced by rtp_new_av_stream().

attribute_deprecated int url_open_protocol ( URLContext **  puc,
struct URLProtocol up,
const char *  url,
int  flags 
)

Definition at line 208 of file avio.c.

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

Definition at line 236 of file avio.c.

attribute_deprecated int url_read_complete ( URLContext h,
unsigned char *  buf,
int  size 
)

Definition at line 240 of file avio.c.

attribute_deprecated int64_t url_seek ( URLContext h,
int64_t  pos,
int  whence 
)

Definition at line 248 of file avio.c.

attribute_deprecated void url_set_interrupt_cb ( int(*)(void)  interrupt_cb  ) 

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

Definition at line 244 of file avio.c.

Referenced by http_send_data().


Generated on Fri Oct 26 02:43:54 2012 for FFmpeg by  doxygen 1.5.8