Include dependency graph for http.h:

Go to the source code of this file.
Data Structures | |
| struct | mvar_s |
| struct | rpn_stack_t |
| This structure represents a stack of RPN commands for the HTTP interface It is attached to a request. More... | |
| struct | macro_t |
| This structure represents a HTTP Interface macro. More... | |
| struct | httpd_file_sys_t |
| struct | http_association_t |
| struct | httpd_handler_sys_t |
| struct | intf_sys_t |
Defines | |
| #define | MAX_DIR_SIZE 2560 |
| #define | STACK_MAX 100 |
Typedefs | |
| typedef mvar_s | mvar_t |
Functions | |
| int | ParseDirectory (intf_thread_t *p_intf, char *psz_root, char *psz_dir) |
| This function recursively parses a directory and adds all files. | |
| int | FileLoad (FILE *f, char **pp_data, int *pi_data) |
| This function loads a file into a buffer. | |
| char * | FileToUrl (char *name, bool *pb_index) |
| This function creates a suitable URL for a filename. | |
| char * | RealPath (const char *psz_src) |
| This function returns the real path of a file or directory. | |
| void | HandleSeek (intf_thread_t *p_intf, char *p_value) |
| This command parses the "seek" command for the HTTP interface and performs the requested action. | |
| char * | ExtractURIValue (char *restrict psz_uri, const char *restrict psz_name, char *restrict psz_value, size_t i_value_max) |
| This function extracts the value for a given argument name from an HTTP request. | |
| char * | ExtractURIString (char *restrict psz_uri, const char *restrict psz_name) |
| int | TestURIParam (char *psz_uri, const char *psz_name) |
| input_item_t * | MRLParse (intf_thread_t *, char *psz, char *psz_name) |
| This function parses a MRL. | |
| char * | FirstWord (char *psz, char *new) |
| Return the first word from a string (works in-place). | |
| mvar_t * | mvar_New (const char *name, const char *value) |
| This function creates a new variable. | |
| void | mvar_Delete (mvar_t *v) |
| This function deletes a variable. | |
| void | mvar_AppendVar (mvar_t *v, mvar_t *f) |
| This function adds f to the children variables of v, at last position. | |
| mvar_t * | mvar_Duplicate (const mvar_t *v) |
| This function duplicates a variable. | |
| void | mvar_PushVar (mvar_t *v, mvar_t *f) |
| This function adds f to the children variables of v, at fist position. | |
| void | mvar_RemoveVar (mvar_t *v, mvar_t *f) |
| This function removes f from the children variables of v. | |
| mvar_t * | mvar_GetVar (mvar_t *s, const char *name) |
| This function retrieves the child variable named "name". | |
| char * | mvar_GetValue (mvar_t *v, char *field) |
| This function retrieves the value of the child variable named "field". | |
| void | mvar_PushNewVar (mvar_t *vars, const char *name, const char *value) |
| This function creates a variable with the given name and value and adds it as first child of vars. | |
| void | mvar_AppendNewVar (mvar_t *vars, const char *name, const char *value) |
| This function creates a variable with the given name and value and adds it as last child of vars. | |
| mvar_t * | mvar_IntegerSetNew (const char *name, const char *arg) |
| This function creates a set variable which represents a series of integer The arg parameter must be of the form "start[:stop[:step]]". | |
| mvar_t * | mvar_ObjectSetNew (intf_thread_t *p_intf, char *name, const char *arg) |
| This function creates a set variable with a list of VLC objects. | |
| mvar_t * | mvar_PlaylistSetNew (intf_thread_t *p_intf, char *name, playlist_t *p_pl) |
| This function creates a set variable with the contents of the playlist. | |
| mvar_t * | mvar_InfoSetNew (char *name, input_thread_t *p_input) |
| This function creates a set variable with the contents of the Stream and media info box. | |
| mvar_t * | mvar_InputVarSetNew (intf_thread_t *p_intf, char *name, input_thread_t *p_input, const char *psz_variable) |
| This function creates a set variable with the input parameters. | |
| mvar_t * | mvar_FileSetNew (intf_thread_t *p_intf, char *name, char *psz_dir) |
| This function creates a set variable representing the files of the psz_dir directory. | |
| mvar_t * | mvar_VlmSetNew (char *name, vlm_t *vlm) |
| This function creates a set variable representing the VLM streams. | |
| void | PlaylistListNode (intf_thread_t *p_intf, playlist_t *p_pl, playlist_item_t *p_node, char *name, mvar_t *s, int i_depth) |
| This function converts the listing of a playlist node into a mvar set. | |
| void | SSInit (rpn_stack_t *) |
| This function creates the RPN evaluator stack. | |
| void | SSClean (rpn_stack_t *) |
| This function cleans the evaluator stack. | |
| void | EvaluateRPN (intf_thread_t *p_intf, mvar_t *vars, rpn_stack_t *st, char *exp) |
| void | SSPush (rpn_stack_t *, const char *) |
| char * | SSPop (rpn_stack_t *) |
| void | SSPushN (rpn_stack_t *, int) |
| int | SSPopN (rpn_stack_t *, mvar_t *) |
| void | 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. | |
| 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. | |
1.5.1