FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
protocols.c File Reference
#include "config.h"
#include "libavutil/avstring.h"
#include "libavutil/mem.h"
#include "url.h"
#include "libavformat/protocol_list.c"

Go to the source code of this file.

Functions

const AVClassff_urlcontext_child_class_next (const AVClass *prev)
 
const char * avio_enum_protocols (void **opaque, int output)
 Iterate through names of available protocols. More...
 
const URLProtocol ** ffurl_get_protocols (const char *whitelist, const char *blacklist)
 Construct a list of protocols matching a given whitelist and/or blacklist. More...
 

Variables

const URLProtocol ff_async_protocol
 
const URLProtocol ff_bluray_protocol
 
const URLProtocol ff_cache_protocol
 
const URLProtocol ff_concat_protocol
 
const URLProtocol ff_crypto_protocol
 
const URLProtocol ff_data_protocol
 
const URLProtocol ff_ffrtmpcrypt_protocol
 
const URLProtocol ff_ffrtmphttp_protocol
 
const URLProtocol ff_file_protocol
 
const URLProtocol ff_ftp_protocol
 
const URLProtocol ff_gopher_protocol
 
const URLProtocol ff_hls_protocol
 
const URLProtocol ff_http_protocol
 
const URLProtocol ff_httpproxy_protocol
 
const URLProtocol ff_https_protocol
 
const URLProtocol ff_icecast_protocol
 
const URLProtocol ff_mmsh_protocol
 
const URLProtocol ff_mmst_protocol
 
const URLProtocol ff_md5_protocol
 
const URLProtocol ff_pipe_protocol
 
const URLProtocol ff_prompeg_protocol
 
const URLProtocol ff_rtmp_protocol
 
const URLProtocol ff_rtmpe_protocol
 
const URLProtocol ff_rtmps_protocol
 
const URLProtocol ff_rtmpt_protocol
 
const URLProtocol ff_rtmpte_protocol
 
const URLProtocol ff_rtmpts_protocol
 
const URLProtocol ff_rtp_protocol
 
const URLProtocol ff_sctp_protocol
 
const URLProtocol ff_srtp_protocol
 
const URLProtocol ff_subfile_protocol
 
const URLProtocol ff_tee_protocol
 
const URLProtocol ff_tcp_protocol
 
const URLProtocol ff_tls_gnutls_protocol
 
const URLProtocol ff_tls_schannel_protocol
 
const URLProtocol ff_tls_securetransport_protocol
 
const URLProtocol ff_tls_openssl_protocol
 
const URLProtocol ff_udp_protocol
 
const URLProtocol ff_udplite_protocol
 
const URLProtocol ff_unix_protocol
 
const URLProtocol ff_librtmp_protocol
 
const URLProtocol ff_librtmpe_protocol
 
const URLProtocol ff_librtmps_protocol
 
const URLProtocol ff_librtmpt_protocol
 
const URLProtocol ff_librtmpte_protocol
 
const URLProtocol ff_libssh_protocol
 
const URLProtocol ff_libsmbclient_protocol
 

Function Documentation

const AVClass* ff_urlcontext_child_class_next ( const AVClass prev)

Definition at line 76 of file protocols.c.

const char* avio_enum_protocols ( void **  opaque,
int  output 
)

Iterate through names of available protocols.

Parameters
opaqueA private pointer representing current protocol. It must be a pointer to NULL on first iteration and will be updated by successive calls to avio_enum_protocols.
outputIf set to 1, iterate over output protocols, otherwise over input protocols.
Returns
A static string containing the name of current protocol or NULL

Definition at line 96 of file protocols.c.

Referenced by show_protocols().

const URLProtocol** ffurl_get_protocols ( const char *  whitelist,
const char *  blacklist 
)

Construct a list of protocols matching a given whitelist and/or blacklist.

Parameters
whitelista comma-separated list of allowed protocol names or NULL. If this is a non-empty string, only protocols in this list will be included.
blacklista comma-separated list of forbidden protocol names or NULL. If this is a non-empty string, all protocols in this list will be excluded.
Returns
a NULL-terminated array of matching protocols. The array must be freed by the caller.

Definition at line 111 of file protocols.c.

Referenced by url_find_protocol().

Variable Documentation

const URLProtocol ff_async_protocol

Definition at line 482 of file async.c.

const URLProtocol ff_bluray_protocol

Definition at line 227 of file bluray.c.

const URLProtocol ff_cache_protocol

Definition at line 322 of file cache.c.

const URLProtocol ff_concat_protocol

Definition at line 189 of file concat.c.

const URLProtocol ff_crypto_protocol

Definition at line 396 of file crypto.c.

const URLProtocol ff_data_protocol

Definition at line 112 of file data_uri.c.

const URLProtocol ff_ffrtmpcrypt_protocol

Definition at line 328 of file rtmpcrypt.c.

const URLProtocol ff_ffrtmphttp_protocol

Definition at line 276 of file rtmphttp.c.

const URLProtocol ff_file_protocol
const URLProtocol ff_ftp_protocol

Definition at line 1106 of file ftp.c.

const URLProtocol ff_gopher_protocol

Definition at line 117 of file gopher.c.

const URLProtocol ff_hls_protocol

Definition at line 321 of file hlsproto.c.

const URLProtocol ff_http_protocol
const URLProtocol ff_httpproxy_protocol
const URLProtocol ff_https_protocol
const URLProtocol ff_icecast_protocol

Definition at line 212 of file icecast.c.

const URLProtocol ff_mmsh_protocol

Definition at line 412 of file mmsh.c.

const URLProtocol ff_mmst_protocol

Definition at line 632 of file mmst.c.

const URLProtocol ff_md5_protocol

Definition at line 90 of file md5proto.c.

const URLProtocol ff_pipe_protocol
const URLProtocol ff_prompeg_protocol

Definition at line 473 of file prompeg.c.

const URLProtocol ff_rtmp_protocol
const URLProtocol ff_rtmpe_protocol
const URLProtocol ff_rtmps_protocol
const URLProtocol ff_rtmpt_protocol
const URLProtocol ff_rtmpte_protocol
const URLProtocol ff_rtmpts_protocol
const URLProtocol ff_rtp_protocol

Definition at line 664 of file rtpproto.c.

const URLProtocol ff_sctp_protocol

Definition at line 362 of file sctp.c.

const URLProtocol ff_srtp_protocol

Definition at line 135 of file srtpproto.c.

const URLProtocol ff_subfile_protocol

Definition at line 140 of file subfile.c.

const URLProtocol ff_tee_protocol

Definition at line 139 of file teeproto.c.

const URLProtocol ff_tcp_protocol

Definition at line 289 of file tcp.c.

const URLProtocol ff_tls_gnutls_protocol

Definition at line 256 of file tls_gnutls.c.

const URLProtocol ff_tls_schannel_protocol

Definition at line 598 of file tls_schannel.c.

const URLProtocol ff_tls_securetransport_protocol

Definition at line 396 of file tls_securetransport.c.

const URLProtocol ff_tls_openssl_protocol

Definition at line 342 of file tls_openssl.c.

const URLProtocol ff_udp_protocol

Definition at line 1161 of file udp.c.

const URLProtocol ff_udplite_protocol

Definition at line 1173 of file udp.c.

const URLProtocol ff_unix_protocol

Definition at line 146 of file unix.c.

const URLProtocol ff_librtmp_protocol

Definition at line 342 of file librtmp.c.

const URLProtocol ff_librtmpe_protocol

Definition at line 372 of file librtmp.c.

const URLProtocol ff_librtmps_protocol

Definition at line 402 of file librtmp.c.

const URLProtocol ff_librtmpt_protocol

Definition at line 357 of file librtmp.c.

const URLProtocol ff_librtmpte_protocol

Definition at line 387 of file librtmp.c.

const URLProtocol ff_libssh_protocol

Definition at line 492 of file libssh.c.

const URLProtocol ff_libsmbclient_protocol

Definition at line 368 of file libsmbclient.c.