FFmpeg
|
URL utility functions. More...
Go to the source code of this file.
Functions | |
int | ff_url_join (char *str, int size, const char *proto, const char *authorization, const char *hostname, int port, const char *fmt,...) |
void | ff_make_absolute_url (char *buf, int size, const char *base, const char *rel) |
Convert a relative url into an absolute url, given a base url. | |
URL utility functions.
Definition in file url.c.
int ff_url_join | ( | char * | str, |
int | size, | ||
const char * | proto, | ||
const char * | authorization, | ||
const char * | hostname, | ||
int | port, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 36 of file url.c.
Referenced by build_udp_url(), ff_rtp_set_remote_url(), ff_rtsp_setup_output_streams(), ftp_connect_control_connection(), ftp_connect_data_connection(), gopher_open(), http_open_cnx(), mms_open(), mmsh_open_internal(), rtmp_http_open(), rtmp_http_send_cmd(), rtmp_open(), rtmpe_open(), rtsp_listen(), rtsp_read_setup(), sap_read_header(), sap_write_header(), srtp_open(), and tls_open().
void ff_make_absolute_url | ( | char * | buf, |
int | size, | ||
const char * | base, | ||
const char * | rel | ||
) |
Convert a relative url into an absolute url, given a base url.
buf | the buffer where output absolute url is written |
size | the size of buf |
base | the base url, may be equal to buf. |
rel | the new url, which is interpreted relative to base |
Definition at line 80 of file url.c.
Referenced by add_file(), new_playlist(), parse_location(), parse_playlist(), and test().