Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

<vlc> Macros Handling
[HTTP Interface]


Classes

struct  macro_t
struct  macro_t

Variables

int E_( MacroParse )(macro_t *m, char *psz_src)
void E_( MacroClean )(macro_t *m)
int E_( StrToMacroType )(char *name)
void E_( MacroDo )(httpd_file_sys_t *p_args, macro_t *m, char *p_request, int i_request, char **pp_data, int *pi_data, char **pp_dst)
char *E_( MacroSearch )(char *src, char *end, int i_mvlc, vlc_bool_t b_after)
void E_( Execute )(httpd_file_sys_t *p_args, char *p_request, int i_request, char **pp_data, int *pi_data, char **pp_dst, char *_src, char *_end)

Detailed Description

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

Variable Documentation

void E_( Execute)(httpd_file_sys_t *p_args, char *p_request, int i_request, char **pp_data, int *pi_data, char **pp_dst, char *_src, char *_end)
 

This function parses a file for macros

Definition at line 313 of file http.h.

void E_( MacroClean)(macro_t *m)
 

This function cleans a macro

Definition at line 299 of file http.h.

void E_( MacroDo)(httpd_file_sys_t *p_args, macro_t *m, char *p_request, int i_request, char **pp_data, int *pi_data, char **pp_dst)
 

This function actually executes the macro

Definition at line 305 of file http.h.

int E_( MacroParse)(macro_t *m, char *psz_src)
 

This function creates a macro from a <vlc ....> tag

Definition at line 297 of file http.h.

char* E_( MacroSearch)(char *src, char *end, int i_mvlc, vlc_bool_t b_after)
 

This function looks for macros in a string

Definition at line 309 of file http.h.

int E_( StrToMacroType)(char *name)
 

This function returns the macro type identifier from its id= string value It uses the StrToMacroTypeTab mapping array for this

Definition at line 303 of file http.h.


Generated on Tue Dec 20 10:15:04 2005 for vlc-0.8.4a by  doxygen 1.4.2