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_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_libsrt_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 74 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 94 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 109 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 190 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 1109 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 313 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 658 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 143 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 296 of file tcp.c.

const URLProtocol ff_tls_protocol

Definition at line 278 of file tls_gnutls.c.

const URLProtocol ff_udp_protocol

Definition at line 1157 of file udp.c.

const URLProtocol ff_udplite_protocol

Definition at line 1169 of file udp.c.

const URLProtocol ff_unix_protocol

Definition at line 148 of file unix.c.

const URLProtocol ff_librtmp_protocol

Definition at line 345 of file librtmp.c.

const URLProtocol ff_librtmpe_protocol

Definition at line 375 of file librtmp.c.

const URLProtocol ff_librtmps_protocol

Definition at line 405 of file librtmp.c.

const URLProtocol ff_librtmpt_protocol

Definition at line 360 of file librtmp.c.

const URLProtocol ff_librtmpte_protocol

Definition at line 390 of file librtmp.c.

const URLProtocol ff_libsrt_protocol

Definition at line 536 of file libsrt.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.