telnet.c File Reference

Include dependency graph for telnet.c:


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 Documentation

#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().


Function Documentation

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.

Parameters:
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]

static char * MessageToString ( vlm_message_t message,
int  i_level 
) [static]

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:

  • Improve CDDB support (non-blocking, cache, .

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.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

static void Run ( intf_thread_t p_intf  )  [static]

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]


Generated on Tue May 25 08:05:16 2010 for VLC by  doxygen 1.5.6