HTTP Interface

Collaboration diagram for HTTP Interface:
This is the HTTP remote control interface. More...


Modules

 Utilities
 Utilities.
 Macro variables
 These variables can be used in the <vlc> macros and in the RPN evaluator.
 Sets
 Sets are an application of the macro variables.
 RPN Evaluator
 <vlc> Macros Handling
 A macro is a code snippet in the HTML page looking like <vlc id="macro_id" param1="value1" param2="value2"> Macros string ids are mapped to macro types, and specific handling code must be written for each macro type.

Data Structures

struct  httpd_file_sys_t
struct  http_association_t
struct  httpd_handler_sys_t
struct  intf_sys_t
 Per-interface private state. More...

Defines

#define MAX_DIR_SIZE   2560
#define STACK_MAX   100

Functions

int HttpCallback (httpd_file_sys_t *p_args, httpd_file_t *, uint8_t *p_request, uint8_t **pp_data, int *pi_data)
 This function is the main HTTPD Callback used by the HTTP Interface.
int HandlerCallback (httpd_handler_sys_t *p_args, httpd_handler_t *p_handler, char *_p_url, uint8_t *_p_request, int i_type, uint8_t *_p_in, int i_in, char *psz_remote_addr, char *psz_remote_host, uint8_t **_pp_data, int *pi_data)
 This function is the HTTPD Callback used for CGIs.

Detailed Description

This is the HTTP remote control interface.

It is fully customizable by writing HTML pages using custom <vlc> tags.

These tags use so-called macros.

These macros can manipulate variables. For more complex operations, a custom RPN evaluator with many built-in functions is provided.


Define Documentation

#define MAX_DIR_SIZE   2560

Referenced by Execute(), and ParseDirectory().

#define STACK_MAX   100

Referenced by SSPush().


Function Documentation

int HandlerCallback ( httpd_handler_sys_t p_args,
httpd_handler_t p_handler,
char *  _p_url,
uint8_t *  _p_request,
int  i_type,
uint8_t *  _p_in,
int  i_in,
char *  psz_remote_addr,
char *  psz_remote_host,
uint8_t **  _pp_data,
int *  pi_data 
)

int HttpCallback ( httpd_file_sys_t p_args,
httpd_file_t ,
uint8_t *  p_request,
uint8_t **  pp_data,
int *  pi_data 
)

This function is the main HTTPD Callback used by the HTTP Interface.


Generated on Sat Nov 7 08:06:09 2009 for VLC by  doxygen 1.5.6