#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.
◆ ff_urlcontext_child_class_next()
◆ avio_enum_protocols()
const char* avio_enum_protocols |
( |
void ** |
opaque, |
|
|
int |
output |
|
) |
| |
Iterate through names of available protocols.
- Parameters
-
opaque | A 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. |
output | If 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().
◆ ffurl_get_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
-
whitelist | a comma-separated list of allowed protocol names or NULL. If this is a non-empty string, only protocols in this list will be included. |
blacklist | a 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().
◆ ff_async_protocol
◆ ff_bluray_protocol
◆ ff_cache_protocol
◆ ff_concat_protocol
◆ ff_crypto_protocol
◆ ff_data_protocol
◆ ff_ffrtmpcrypt_protocol
◆ ff_ffrtmphttp_protocol
◆ ff_file_protocol
◆ ff_ftp_protocol
◆ ff_gopher_protocol
◆ ff_hls_protocol
◆ ff_http_protocol
◆ ff_httpproxy_protocol
◆ ff_https_protocol
◆ ff_icecast_protocol
◆ ff_mmsh_protocol
◆ ff_mmst_protocol
◆ ff_md5_protocol
◆ ff_pipe_protocol
◆ ff_prompeg_protocol
◆ ff_rtmp_protocol
◆ ff_rtmpe_protocol
◆ ff_rtmps_protocol
◆ ff_rtmpt_protocol
◆ ff_rtmpte_protocol
◆ ff_rtmpts_protocol
◆ ff_rtp_protocol
◆ ff_sctp_protocol
◆ ff_srtp_protocol
◆ ff_subfile_protocol
◆ ff_tee_protocol
◆ ff_tcp_protocol
◆ ff_tls_protocol
◆ ff_udp_protocol
◆ ff_udplite_protocol
◆ ff_unix_protocol
◆ ff_librtmp_protocol
◆ ff_librtmpe_protocol
◆ ff_librtmps_protocol
◆ ff_librtmpt_protocol
◆ ff_librtmpte_protocol
◆ ff_libsrt_protocol
◆ ff_libssh_protocol
◆ ff_libsmbclient_protocol