http.c File Reference

Include dependency graph for http.c:


Data Structures

struct  sout_access_out_sys_t

Defines

#define DEFAULT_PORT   8080
#define DEFAULT_SSL_PORT   8443
#define SOUT_CFG_PREFIX   "sout-http-"
#define USER_TEXT   N_("Username")
#define USER_LONGTEXT
#define PASS_TEXT   N_("Password")
#define PASS_LONGTEXT
#define MIME_TEXT   N_("Mime")
#define MIME_LONGTEXT
#define CERT_TEXT   N_( "Certificate file" )
#define CERT_LONGTEXT
#define KEY_TEXT   N_( "Private key file" )
#define KEY_LONGTEXT
#define CA_TEXT   N_( "Root CA file" )
#define CA_LONGTEXT
#define CRL_TEXT   N_( "CRL file" )
#define CRL_LONGTEXT
#define BONJOUR_TEXT   N_( "Advertise with Bonjour")
#define BONJOUR_LONGTEXT   N_( "Advertise the stream with the Bonjour protocol." )

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 ssize_t Write (sout_access_out_t *, block_t *)
static int Seek (sout_access_out_t *, off_t)
static int Control (sout_access_out_t *, int, va_list)

Variables

static const char *const ppsz_sout_options []

Define Documentation

#define BONJOUR_LONGTEXT   N_( "Advertise the stream with the Bonjour protocol." )

#define BONJOUR_TEXT   N_( "Advertise with Bonjour")

#define CA_LONGTEXT

Value:

N_( "Path to the x509 PEM trusted root CA certificates " \
                        "(certificate authority) file that will be used for " \
                        "HTTPS. Leave empty if you " \
                        "don't have one." )

#define CA_TEXT   N_( "Root CA file" )

#define CERT_LONGTEXT

Value:

N_( "Path to the x509 PEM certificate file that will "\
                          "be used for HTTPS." )

#define CERT_TEXT   N_( "Certificate file" )

#define CRL_LONGTEXT

Value:

N_( "Path to the x509 PEM Certificates Revocation List " \
                         "file that will be used for SSL. Leave " \
                         "empty if you don't have one." )

#define CRL_TEXT   N_( "CRL file" )

#define DEFAULT_PORT   8080

#define DEFAULT_SSL_PORT   8443

#define KEY_LONGTEXT

Value:

N_( "Path to the x509 PEM private key file that will " \
                         "be used for HTTPS. Leave " \
                         "empty if you don't have one." )

#define KEY_TEXT   N_( "Private key file" )

#define MIME_LONGTEXT

Value:

N_("MIME returned by the server (autodetected " \
                        "if not specified)." )

#define MIME_TEXT   N_("Mime")

#define PASS_LONGTEXT

Value:

N_("Password that will be " \
                         "requested to access the stream." )

#define PASS_TEXT   N_("Password")

#define SOUT_CFG_PREFIX   "sout-http-"

#define USER_LONGTEXT

Value:

N_("User name that will be " \
                         "requested to access the stream." )

#define USER_TEXT   N_("Username")


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 Control ( sout_access_out_t p_access,
int  i_query,
va_list  args 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

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 int Seek ( sout_access_out_t p_access,
off_t  i_pos 
) [static]

References msg_Warn, and VLC_EGENERIC.

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static ssize_t Write ( sout_access_out_t p_access,
block_t p_buffer 
) [static]


Variable Documentation

const char* const ppsz_sout_options[] [static]

Initial value:

 {
    "user", "pwd", "mime", "cert", "key", "ca", "crl", NULL
}


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