
Data Structures | |
| struct | telnet_client_t |
| struct | intf_sys_t |
| Per-interface private state. More... | |
Defines | |
| #define | READ_MODE_PWD 1 |
| #define | READ_MODE_CMD 2 |
| #define | WRITE_MODE_PWD 3 |
| #define | WRITE_MODE_CMD 4 |
| #define | TEL_WILL 251 |
| #define | TEL_WONT 252 |
| #define | TEL_DO 253 |
| #define | TEL_DONT 254 |
| #define | TEL_IAC 255 |
| #define | TEL_ECHO 1 |
| #define | TELNETHOST_TEXT N_( "Host" ) |
| #define | TELNETHOST_LONGTEXT |
| #define | TELNETPORT_TEXT N_( "Port" ) |
| #define | TELNETPORT_LONGTEXT |
| #define | TELNETPORT_DEFAULT 4212 |
| #define | TELNETPWD_TEXT N_( "Password" ) |
| #define | TELNETPWD_LONGTEXT |
| #define | TELNETPWD_DEFAULT "admin" |
| #define | STRING_CR "\r\n" |
| #define | STRING_TAIL "> " |
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 void | Run (intf_thread_t *) |
| static char * | MessageToString (vlm_message_t *, int) |
| static void | Write_message (telnet_client_t *, vlm_message_t *, const char *, int) |
| static int | getPort (intf_thread_t *p_intf, const vlc_url_t *url, int i_port) |
| #define READ_MODE_CMD 2 |
Referenced by Run().
| #define READ_MODE_PWD 1 |
Referenced by Run().
| #define STRING_CR "\r\n" |
Referenced by MessageToString().
| #define STRING_TAIL "> " |
Referenced by MessageToString().
| #define TEL_DO 253 |
Referenced by Run().
| #define TEL_DONT 254 |
Referenced by Run().
| #define TEL_ECHO 1 |
| #define TEL_IAC 255 |
Referenced by Run().
| #define TEL_WILL 251 |
Referenced by Run().
| #define TEL_WONT 252 |
Referenced by Run().
| #define TELNETHOST_LONGTEXT |
Value:
N_( "This is the host on which the " \ "interface will listen. It defaults to all network interfaces (0.0.0.0)." \ " If you want this interface to be available only on the local " \ "machine, enter \"127.0.0.1\"." )
| #define TELNETHOST_TEXT N_( "Host" ) |
| #define TELNETPORT_DEFAULT 4212 |
Referenced by getPort().
| #define TELNETPORT_LONGTEXT |
Value:
N_( "This is the TCP port on which this " \ "interface will listen. It defaults to 4212." )
| #define TELNETPORT_TEXT N_( "Port" ) |
| #define TELNETPWD_DEFAULT "admin" |
| #define TELNETPWD_LONGTEXT |
Value:
N_( "A single administration password is used " \ "to protect this interface. The default value is \"admin\"." )
| #define TELNETPWD_TEXT N_( "Password" ) |
| #define WRITE_MODE_CMD 4 |
Referenced by Run().
| #define WRITE_MODE_PWD 3 |
Referenced by Run().
| 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 getPort | ( | intf_thread_t * | p_intf, | |
| const vlc_url_t * | url, | |||
| int | i_port | |||
| ) | [static] |
References vlc_url_t::i_port, msg_Warn, and TELNETPORT_DEFAULT.
| static char * MessageToString | ( | vlm_message_t * | message, | |
| int | i_level | |||
| ) | [static] |
References vlm_message_t::child, vlm_message_t::i_child, vlm_message_t::psz_name, vlm_message_t::psz_value, strdup(), STRING_CR, STRING_TAIL, xmalloc(), and xrealloc().
Referenced by Write_message().
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.
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 void Run | ( | intf_thread_t * | p_intf | ) | [static] |
References telnet_client_t::buffer_read, telnet_client_t::buffer_write, intf_sys_t::clients, pollfd::events, telnet_client_t::fd, pollfd::fd, telnet_client_t::i_buffer_write, intf_sys_t::i_clients, telnet_client_t::i_mode, telnet_client_t::i_tel_cmd, libvlc_Quit(), intf_sys_t::mediatheque, msg_Err, net_AcceptSingle(), net_Close, net_errno, telnet_client_t::p_buffer_read, telnet_client_t::p_buffer_write, intf_thread_t::p_libvlc, intf_thread_t::p_sys, intf_sys_t::pi_fd, poll, POLLERR, POLLHUP, POLLIN, POLLOUT, psz_name, READ_MODE_CMD, READ_MODE_PWD, pollfd::revents, TAB_APPEND, TAB_REMOVE, TEL_DO, TEL_DONT, TEL_IAC, TEL_WILL, TEL_WONT, var_Command, var_InheritString, vlc_cleanup_push, vlc_cleanup_run, VLC_OBJECT, vlc_restorecancel(), vlc_savecancel(), vlm_ExecuteCommand(), vlm_MessageAdd(), vlm_MessageDelete(), vlm_MessageNew(), vlm_MessageSimpleNew(), Write_message(), WRITE_MODE_CMD, and WRITE_MODE_PWD.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
| static void Write_message | ( | telnet_client_t * | client, | |
| vlm_message_t * | message, | |||
| const char * | string_message, | |||
| int | i_mode | |||
| ) | [static] |
1.5.6