
Go to the source code of this file.
| #define VLC_HTTPD_H 1 |
| anonymous enum |
| char* httpd_ClientIP | ( | const httpd_client_t * | cl, | |
| char * | psz_ip | |||
| ) |
References httpd_client_t::fd, and net_GetSockAddress().
Referenced by RtspCallback(), RtspCallbackES(), and RtspHandler().
| void httpd_ClientModeBidir | ( | httpd_client_t * | cl | ) |
References httpd_client_t::fd, and net_GetPeerAddress().
| void httpd_ClientModeStream | ( | httpd_client_t * | cl | ) |
References HTTPD_CLIENT_BIDIR, and httpd_client_t::i_mode.
| httpd_file_sys_t* httpd_FileDelete | ( | httpd_file_t * | ) |
Referenced by vlclua_httpd_file_delete().
| httpd_file_t* httpd_FileNew | ( | httpd_host_t * | , | |
| const char * | psz_url, | |||
| const char * | psz_mime, | |||
| const char * | psz_user, | |||
| const char * | psz_password, | |||
| const vlc_acl_t * | p_acl, | |||
| httpd_file_callback_t | pf_fill, | |||
| httpd_file_sys_t * | ||||
| ) |
References httpd_FileCallBack(), httpd_MimeFromUrl(), HTTPD_MSG_GET, HTTPD_MSG_HEAD, HTTPD_MSG_POST, httpd_UrlCatch(), httpd_UrlNewUnique(), httpd_file_t::p_sys, httpd_file_t::pf_fill, httpd_file_t::psz_mime, httpd_file_t::psz_url, strdup(), and httpd_file_t::url.
Referenced by ParseDirectory(), and vlclua_httpd_file_new().
| httpd_handler_sys_t* httpd_HandlerDelete | ( | httpd_handler_t * | ) |
Referenced by vlclua_httpd_handler_delete().
| httpd_handler_t* httpd_HandlerNew | ( | httpd_host_t * | , | |
| const char * | psz_url, | |||
| const char * | psz_user, | |||
| const char * | psz_password, | |||
| const vlc_acl_t * | p_acl, | |||
| httpd_handler_callback_t | pf_fill, | |||
| httpd_handler_sys_t * | ||||
| ) |
References httpd_HandlerCallBack(), HTTPD_MSG_GET, HTTPD_MSG_HEAD, HTTPD_MSG_POST, httpd_UrlCatch(), httpd_UrlNewUnique(), httpd_handler_t::p_sys, httpd_handler_t::pf_fill, and httpd_handler_t::url.
Referenced by ParseDirectory(), and vlclua_httpd_handler_new().
| void httpd_HostDelete | ( | httpd_host_t * | ) |
Referenced by Close(), Open(), RtspUnsetup(), and vlclua_httpd_host_delete().
| httpd_host_t* httpd_HostNew | ( | vlc_object_t * | , | |
| const char * | psz_host, | |||
| int | i_port | |||
| ) |
| void httpd_MsgAdd | ( | httpd_message_t * | , | |
| const char * | psz_name, | |||
| const char * | psz_value, | |||
| ... | ||||
| ) |
Referenced by RtspCallback(), RtspCallbackES(), and RtspHandler().
| const char* httpd_MsgGet | ( | const httpd_message_t * | , | |
| const char * | psz_name | |||
| ) |
References httpd_message_t::name, strcasecmp(), and httpd_message_t::value.
Referenced by RtspCallback(), RtspCallbackES(), and RtspHandler().
| void httpd_RedirectDelete | ( | httpd_redirect_t * | ) |
Referenced by vlclua_httpd_redirect_delete().
| httpd_redirect_t* httpd_RedirectNew | ( | httpd_host_t * | , | |
| const char * | psz_url_dst, | |||
| const char * | psz_url_src | |||
| ) |
Referenced by ParseDirectory(), and vlclua_httpd_redirect_new().
| char* httpd_ServerIP | ( | const httpd_client_t * | cl, | |
| char * | psz_ip | |||
| ) |
| void httpd_StreamDelete | ( | httpd_stream_t * | ) |
Referenced by Close().
| int httpd_StreamHeader | ( | httpd_stream_t * | , | |
| uint8_t * | p_data, | |||
| int | i_data | |||
| ) |
| httpd_stream_t* httpd_StreamNew | ( | httpd_host_t * | , | |
| const char * | psz_url, | |||
| const char * | psz_mime, | |||
| const char * | psz_user, | |||
| const char * | psz_password, | |||
| const vlc_acl_t * | p_acl | |||
| ) |
References httpd_MimeFromUrl(), HTTPD_MSG_GET, HTTPD_MSG_HEAD, HTTPD_MSG_POST, httpd_StreamCallBack(), httpd_UrlCatch(), httpd_UrlNewUnique(), httpd_stream_t::i_buffer_last_pos, httpd_stream_t::i_buffer_pos, httpd_stream_t::i_buffer_size, httpd_stream_t::i_header, httpd_stream_t::lock, httpd_stream_t::p_buffer, httpd_stream_t::p_header, httpd_stream_t::psz_mime, strdup(), httpd_stream_t::url, and vlc_mutex_init().
Referenced by Open().
| int httpd_StreamSend | ( | httpd_stream_t * | , | |
| uint8_t * | p_data, | |||
| int | i_data | |||
| ) |
| httpd_host_t* httpd_TLSHostNew | ( | vlc_object_t * | , | |
| const char * | , | |||
| int | , | |||
| const char * | , | |||
| const char * | , | |||
| const char * | , | |||
| const char * | ||||
| ) |
References httpd_host_t::client, httpd_host_t::fds, httpd_t::host, httpd_host_t::httpd, httpd_HostThread(), httpd_host_t::i_client, httpd_t::i_host, httpd_host_t::i_port, httpd_host_t::i_ref, httpd_host_t::i_url, libvlc_priv(), httpd_host_t::lock, msg_Err, msg_Info, net_ListenClose(), net_ListenTCP, httpd_host_t::nfd, vlc_value_t::p_address, libvlc_priv_t::p_httpd, httpd_t::p_libvlc, vlc_object_t::p_libvlc, httpd_host_t::p_tls, httpd_host_t::psz_hostname, strdup(), TAB_APPEND, httpd_host_t::thread, tls_ServerAddCA(), tls_ServerAddCRL(), tls_ServerCreate(), tls_ServerDelete(), httpd_host_t::url, vlc_clone(), vlc_cond_destroy(), vlc_cond_init(), vlc_custom_create, vlc_mutex_destroy(), vlc_mutex_init(), vlc_mutex_lock(), vlc_mutex_unlock(), VLC_OBJECT, vlc_object_attach, vlc_object_detach, VLC_OBJECT_GENERIC, vlc_object_release, vlc_object_waitpipe(), VLC_THREAD_PRIORITY_LOW, and httpd_host_t::wait.
Referenced by httpd_HostNew(), Open(), and vlclua_httpd_tls_host_new().
| int httpd_UrlCatch | ( | httpd_url_t * | , | |
| int | i_msg, | |||
| httpd_callback_t | , | |||
| httpd_callback_sys_t * | ||||
| ) |
Referenced by httpd_FileNew(), httpd_HandlerNew(), httpd_StreamNew(), MediaAddES(), MediaNew(), RtspAddId(), and RtspSetup().
| void httpd_UrlDelete | ( | httpd_url_t * | ) |
Referenced by MediaDel(), MediaDelES(), MediaNew(), RtspDelId(), and RtspUnsetup().
| httpd_url_t* httpd_UrlNew | ( | httpd_host_t * | , | |
| const char * | psz_url, | |||
| const char * | psz_user, | |||
| const char * | psz_password, | |||
| const vlc_acl_t * | p_acl | |||
| ) |
| httpd_url_t* httpd_UrlNewUnique | ( | httpd_host_t * | , | |
| const char * | psz_url, | |||
| const char * | psz_user, | |||
| const char * | psz_password, | |||
| const vlc_acl_t * | p_acl | |||
| ) |
Referenced by httpd_FileNew(), httpd_HandlerNew(), httpd_StreamNew(), MediaAddES(), MediaNew(), RtspAddId(), and RtspSetup().
1.5.6