growl_udp.c File Reference

Include dependency graph for growl_udp.c:


Data Structures

struct  intf_sys_t
 Per-interface private state. More...

Defines

#define GROWL_MAX_LENGTH   256
#define SERVER_DEFAULT   "127.0.0.1"
#define SERVER_TEXT   N_("Server")
#define SERVER_LONGTEXT
#define PASS_DEFAULT   ""
#define PASS_TEXT   N_("Password")
#define PASS_LONGTEXT   N_("Growl password on the Growl server.")
#define PORT_TEXT   N_("UDP port")
#define PORT_LONGTEXT   N_("Growl UDP port on the Growl server.")
#define GROWL_PROTOCOL_VERSION   (1)
#define GROWL_TYPE_REGISTRATION   (0)
#define GROWL_TYPE_NOTIFICATION   (1)
#define APPLICATION_NAME   "VLC media player"
#define insertstrlen(psz)

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
static int ItemChange (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *)
static int RegisterToGrowl (vlc_object_t *p_this)
static int NotifyToGrowl (vlc_object_t *p_this, const char *psz_desc)
static int CheckAndSend (vlc_object_t *p_this, uint8_t *p_data, int i_offset, size_t is_ze)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)

Define Documentation

#define APPLICATION_NAME   "VLC media player"

Referenced by NotifyToGrowl(), and RegisterToGrowl().

#define GROWL_MAX_LENGTH   256

Referenced by ItemChange(), and NotifyToGrowl().

#define GROWL_PROTOCOL_VERSION   (1)

Referenced by NotifyToGrowl(), and RegisterToGrowl().

#define GROWL_TYPE_NOTIFICATION   (1)

Referenced by NotifyToGrowl().

#define GROWL_TYPE_REGISTRATION   (0)

Referenced by RegisterToGrowl().

#define insertstrlen ( psz   ) 

Value:

{ \
    uint16_t i_size = strlen( psz ); \
    psz_encoded[i++] = (i_size>>8)&0xFF; \
    psz_encoded[i++] = i_size&0xFF; \
}

Referenced by NotifyToGrowl(), and RegisterToGrowl().

#define PASS_DEFAULT   ""

#define PASS_LONGTEXT   N_("Growl password on the Growl server.")

#define PASS_TEXT   N_("Password")

#define PORT_LONGTEXT   N_("Growl UDP port on the Growl server.")

#define PORT_TEXT   N_("UDP port")

#define SERVER_DEFAULT   "127.0.0.1"

#define SERVER_LONGTEXT

Value:

N_("This is the host to which Growl notifications " \
   "will be sent. By default, notifications are sent locally." )

#define SERVER_TEXT   N_("Server")


Function Documentation

static int CheckAndSend ( vlc_object_t p_this,
uint8_t *  p_data,
int  i_offset,
size_t  is_ze 
) [static]

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 ItemChange ( vlc_object_t p_this,
const char *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  param 
) [static]

static int NotifyToGrowl ( vlc_object_t p_this,
const char *  psz_desc 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Status of this demuxer: Real Media format -----------------.

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 int RegisterToGrowl ( vlc_object_t p_this  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


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