
Data Structures | |
| struct | access_sys_t |
| ************************************************************************** This is our own access_sys_t for zip files More... | |
Defines | |
| #define | PROXY_TEXT N_("HTTP proxy") |
| #define | PROXY_LONGTEXT |
| #define | PROXY_PASS_TEXT N_("HTTP proxy password") |
| #define | PROXY_PASS_LONGTEXT |
| #define | CACHING_TEXT N_("Caching value in ms") |
| #define | CACHING_LONGTEXT |
| #define | AGENT_TEXT N_("HTTP user agent") |
| #define | AGENT_LONGTEXT |
| #define | RECONNECT_TEXT N_("Auto re-connect") |
| #define | RECONNECT_LONGTEXT |
| #define | CONTINUOUS_TEXT N_("Continuous stream") |
| #define | CONTINUOUS_LONGTEXT |
| #define | FORWARD_COOKIES_TEXT N_("Forward Cookies") |
| #define | FORWARD_COOKIES_LONGTEXT N_("Forward Cookies across http redirections.") |
| #define | MAX_REDIRECT_TEXT N_("Max number of redirection") |
| #define | MAX_REDIRECT_LONGTEXT N_("Limit the number of redirection to follow.") |
| #define | USE_IE_PROXY_TEXT N_("Use Internet Explorer entered HTTP proxy server") |
| #define | USE_IE_PROXY_LONGTEXT |
Functions | |
| static int | Open (vlc_object_t *) |
| Probes and initializes. | |
| static void | Close (vlc_object_t *) |
| Releases resources. | |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static int | OpenWithCookies (vlc_object_t *p_this, const char *psz_access, int i_nb_redirect, int i_max_redirect, vlc_array_t *cookies) |
| Open the given url using the given cookies. | |
| static ssize_t | Read (access_t *, uint8_t *, size_t) |
| static ssize_t | ReadCompressed (access_t *, uint8_t *, size_t) |
| static int | Seek (access_t *, uint64_t) |
| static int | Control (access_t *, int, va_list) |
| static int | Connect (access_t *, uint64_t) |
| static int | Request (access_t *p_access, uint64_t i_tell) |
| static void | Disconnect (access_t *) |
| static char * | cookie_get_content (const char *cookie) |
| static char * | cookie_get_domain (const char *cookie) |
| static char * | cookie_get_name (const char *cookie) |
| static void | cookie_append (vlc_array_t *cookies, char *cookie) |
| static void | AuthReply (access_t *p_acces, const char *psz_prefix, vlc_url_t *p_url, http_auth_t *p_auth) |
| static int | AuthCheckReply (access_t *p_access, const char *psz_header, vlc_url_t *p_url, http_auth_t *p_auth) |
| static int | ReadICYMeta (access_t *p_access) |
| #define AGENT_LONGTEXT |
Value:
N_("User agent that will be " \ "used for the connection.")
| #define AGENT_TEXT N_("HTTP user agent") |
| #define CACHING_LONGTEXT |
Value:
N_( \ "Caching value for HTTP streams. This " \ "value should be set in milliseconds." )
| #define CACHING_TEXT N_("Caching value in ms") |
| #define CONTINUOUS_LONGTEXT |
Value:
N_("Read a file that is " \ "being constantly updated (for example, a JPG file on a server). " \ "You should not globally enable this option as it will break all other " \ "types of HTTP streams." )
| #define CONTINUOUS_TEXT N_("Continuous stream") |
| #define FORWARD_COOKIES_LONGTEXT N_("Forward Cookies across http redirections.") |
| #define FORWARD_COOKIES_TEXT N_("Forward Cookies") |
| #define MAX_REDIRECT_LONGTEXT N_("Limit the number of redirection to follow.") |
| #define MAX_REDIRECT_TEXT N_("Max number of redirection") |
| #define PROXY_LONGTEXT |
Value:
N_( \ "HTTP proxy to be used It must be of the form " \ "http://[user@]myproxy.mydomain:myport/ ; " \ "if empty, the http_proxy environment variable will be tried." )
| #define PROXY_PASS_LONGTEXT |
Value:
N_( \ "If your HTTP proxy requires a password, set it here." )
| #define PROXY_PASS_TEXT N_("HTTP proxy password") |
| #define PROXY_TEXT N_("HTTP proxy") |
| #define RECONNECT_LONGTEXT |
Value:
N_( \ "Automatically try to reconnect to the stream in case of a sudden " \ "disconnect." )
| #define RECONNECT_TEXT N_("Auto re-connect") |
| #define USE_IE_PROXY_LONGTEXT |
Value:
N_("Use Internet Explorer entered HTTP proxy " \ "server for all URL. Don't take into account bypasses settings and auto " \ "configuration scripts.")
| #define USE_IE_PROXY_TEXT N_("Use Internet Explorer entered HTTP proxy server") |
| static int AuthCheckReply | ( | access_t * | p_access, | |
| const char * | psz_header, | |||
| vlc_url_t * | p_url, | |||
| http_auth_t * | p_auth | |||
| ) | [static] |
References http_auth_ParseAuthenticationInfoHeader(), vlc_url_t::psz_password, vlc_url_t::psz_path, vlc_url_t::psz_username, and VLC_OBJECT.
Referenced by Request().
| static void AuthReply | ( | access_t * | p_acces, | |
| const char * | psz_prefix, | |||
| vlc_url_t * | p_url, | |||
| http_auth_t * | p_auth | |||
| ) | [static] |
References access_sys_t::fd, http_auth_FormatAuthorizationHeader(), net_Printf, access_t::p_sys, access_sys_t::p_vs, vlc_url_t::psz_password, vlc_url_t::psz_path, vlc_url_t::psz_username, psz_value, and VLC_OBJECT.
Referenced by Request().
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Releases resources.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static int Connect | ( | access_t * | p_access, | |
| uint64_t | i_tell | |||
| ) | [static] |
References access_sys_t::b_chunked, access_t::b_eof, access_sys_t::b_has_size, access_sys_t::b_mms, access_sys_t::b_persist, access_sys_t::b_proxy, access_sys_t::fd, access_sys_t::i_chunk, access_sys_t::i_icy_meta, access_sys_t::i_icy_offset, vlc_url_t::i_port, access_t::i_pos, access_sys_t::i_remaining, access_t::i_size, access_t::info, msg_Err, net_ConnectTCP, access_t::p_sys, access_sys_t::proxy, vlc_url_t::psz_host, access_sys_t::psz_icy_genre, access_sys_t::psz_icy_name, access_sys_t::psz_icy_title, access_sys_t::psz_location, access_sys_t::psz_mime, access_sys_t::psz_pragma, and access_sys_t::url.
| static int Control | ( | access_t * | p_access, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References ACCESS_CAN_CONTROL_PACE, ACCESS_CAN_FASTSEEK, ACCESS_CAN_PAUSE, ACCESS_CAN_SEEK, ACCESS_GET_CONTENT_TYPE, ACCESS_GET_META, ACCESS_GET_PTS_DELAY, ACCESS_GET_TITLE_INFO, ACCESS_SET_PAUSE_STATE, ACCESS_SET_PRIVATE_ID_STATE, ACCESS_SET_SEEKPOINT, ACCESS_SET_TITLE, access_sys_t::b_pace_control, access_sys_t::b_seekable, msg_Warn, access_t::p_sys, access_sys_t::psz_icy_genre, access_sys_t::psz_icy_name, access_sys_t::psz_icy_title, access_sys_t::psz_mime, strdup(), var_GetInteger, VLC_EGENERIC, vlc_meta_Genre, vlc_meta_NowPlaying, vlc_meta_Set(), vlc_meta_Title, and VLC_SUCCESS.
| static void cookie_append | ( | vlc_array_t * | cookies, | |
| char * | cookie | |||
| ) | [static] |
References cookie_get_domain(), cookie_get_name(), vlc_array_append(), vlc_array_count(), vlc_array_item_at_index(), and vlc_array_remove().
Referenced by Request().
| static char * cookie_get_content | ( | const char * | cookie | ) | [static] |
| static char * cookie_get_domain | ( | const char * | cookie | ) | [static] |
| static char * cookie_get_name | ( | const char * | cookie | ) | [static] |
| static void Disconnect | ( | access_t * | p_access | ) | [static] |
References access_sys_t::fd, net_Close, access_t::p_sys, access_sys_t::p_tls, access_sys_t::p_vs, and tls_ClientDelete().
Referenced by OpenWithCookies(), Read(), Request(), and Seek().
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
Todo:
Open the module.
Create an X11 window.
Probe the X server.
This function initializes SDL vout method.
It creates an OpenGL vout display.
This function allocates and initialize the DirectX vout display.
It creates a Direct3D vout display.
This function allocates and initializes a FB vout method.
Find the drawable set by libvlc application.
This function initializes libcaca vout method.
This function allocates and initializes a aa vout method.
This function allocates and initializes a Wall splitter module.
Open the filter.
This function allocates and initializes a Clone splitter module.
Open: initialize and create stuff.
Connect to the sftp server and ask for a file.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
| static int OpenWithCookies | ( | vlc_object_t * | p_this, | |
| const char * | psz_access, | |||
| int | i_nb_redirect, | |||
| int | i_max_redirect, | |||
| vlc_array_t * | cookies | |||
| ) | [static] |
Open the given url using the given cookies.
| p_this,: | the vlc object : the acces to use (http, https, ...) (this value must be used instead of p_access->psz_access) : the number of redirection already done : limit to the number of redirection to follow : the available cookies |
References _, asprintf(), access_sys_t::auth, access_sys_t::b_continuous, access_t::b_eof, access_sys_t::b_has_size, access_sys_t::b_icecast, access_sys_t::b_mms, access_sys_t::b_pace_control, access_sys_t::b_persist, access_sys_t::b_proxy, access_sys_t::b_reconnect, access_sys_t::b_seekable, access_sys_t::b_ssl, Connect(), access_sys_t::cookies, dialog_Login, Disconnect(), access_sys_t::fd, getenv(), http_auth_Init(), http_auth_Reset(), i, access_sys_t::i_code, access_sys_t::i_icy_meta, access_sys_t::i_icy_offset, http_auth_t::i_nonce, vlc_url_t::i_port, access_t::i_pos, access_sys_t::i_remaining, access_t::i_size, access_sys_t::i_version, access_t::info, msg_Dbg, msg_Err, msg_Info, msg_Warn, p_sys, access_sys_t::p_tls, access_sys_t::p_vs, access_t::pf_read, access_sys_t::proxy, access_sys_t::proxy_auth, access_t::psz_demux, vlc_url_t::psz_host, access_sys_t::psz_icy_genre, access_sys_t::psz_icy_name, access_sys_t::psz_icy_title, access_t::psz_location, access_sys_t::psz_location, access_sys_t::psz_mime, http_auth_t::psz_nonce, vlc_url_t::psz_password, vlc_url_t::psz_path, access_sys_t::psz_pragma, access_sys_t::psz_protocol, access_sys_t::psz_proxy_passbuf, http_auth_t::psz_realm, access_sys_t::psz_user_agent, vlc_url_t::psz_username, ReadCompressed(), STANDARD_READ_ACCESS_INIT, strcasecmp(), strdup(), strncasecmp(), access_sys_t::url, var_Create, var_CreateGetBool, var_CreateGetNonEmptyString, var_CreateGetString, vlc_array_count(), vlc_array_destroy(), vlc_array_item_at_index(), vlc_array_new(), VLC_EGENERIC, vlc_object_alive, VLC_SUCCESS, vlc_UrlClean(), vlc_UrlParse(), VLC_VAR_DOINHERIT, and VLC_VAR_INTEGER.
| static ssize_t Read | ( | access_t * | p_access, | |
| uint8_t * | p_buffer, | |||
| size_t | i_len | |||
| ) | [static] |
References access_sys_t::b_chunked, access_sys_t::b_continuous, access_t::b_eof, access_sys_t::b_error, access_sys_t::b_has_size, access_sys_t::b_reconnect, Connect(), Disconnect(), access_sys_t::fd, access_sys_t::i_chunk, access_sys_t::i_icy_meta, access_sys_t::i_icy_offset, access_t::i_pos, access_sys_t::i_remaining, access_t::i_size, access_t::info, msg_Dbg, net_Gets, net_Read, access_t::p_sys, access_sys_t::p_vs, Read(), ReadICYMeta(), Request(), strtoll(), and vlc_object_alive.
| static ssize_t ReadCompressed | ( | access_t * | , | |
| uint8_t * | , | |||
| size_t | ||||
| ) | [static] |
| static int ReadICYMeta | ( | access_t * | p_access | ) | [static] |
References EnsureUTF8(), access_sys_t::fd, access_t::i_update, access_t::info, INPUT_UPDATE_META, msg_Dbg, net_Read, access_t::p_sys, access_sys_t::p_vs, access_sys_t::psz_icy_title, strcasestr(), strdup(), VLC_EGENERIC, and VLC_SUCCESS.
Referenced by Read().
| static int Request | ( | access_t * | p_access, | |
| uint64_t | i_tell | |||
| ) | [static] |
References asprintf(), atoll(), access_sys_t::auth, AuthCheckReply(), AuthReply(), access_sys_t::b_chunked, access_sys_t::b_continuous, access_sys_t::b_error, access_sys_t::b_has_size, access_sys_t::b_icecast, access_sys_t::b_mms, access_sys_t::b_pace_control, access_sys_t::b_persist, access_sys_t::b_proxy, access_sys_t::b_reconnect, access_sys_t::b_seekable, access_sys_t::b_ssl, cookie_append(), cookie_get_content(), cookie_get_domain(), access_sys_t::cookies, Disconnect(), EnsureUTF8(), access_sys_t::fd, http_auth_ParseWwwAuthenticateHeader(), access_sys_t::i_code, access_sys_t::i_icy_meta, access_sys_t::i_icy_offset, vlc_url_t::i_port, access_t::i_pos, access_sys_t::i_remaining, access_t::i_size, access_sys_t::i_version, access_t::info, msg_Dbg, msg_Err, msg_Warn, net_Gets, net_Printf, access_t::p_sys, access_sys_t::p_vs, access_sys_t::proxy, access_sys_t::proxy_auth, vlc_url_t::psz_host, access_sys_t::psz_icy_genre, access_sys_t::psz_icy_name, access_sys_t::psz_location, access_sys_t::psz_mime, vlc_url_t::psz_password, vlc_url_t::psz_path, access_sys_t::psz_pragma, access_sys_t::psz_protocol, access_sys_t::psz_user_agent, vlc_url_t::psz_username, strcasecmp(), strdup(), strncasecmp(), access_sys_t::url, vlc_array_count(), vlc_array_item_at_index(), VLC_EGENERIC, VLC_OBJECT, vlc_object_alive, and VLC_SUCCESS.
Referenced by Read().
| static int Seek | ( | access_t * | p_access, | |
| uint64_t | i_pos | |||
| ) | [static] |
References access_t::b_eof, Connect(), Disconnect(), access_t::i_size, access_t::info, msg_Dbg, msg_Err, Read(), Seek(), VLC_EGENERIC, and VLC_SUCCESS.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6