Parser :: Generic Parameter Parser. More...
#include <stdio.h>#include "../str.h"

Go to the source code of this file.
Class of parameters.
More...Supported types of parameters.
More...Definition in file parse_param.h.
| enum pclass |
| CLASS_ANY |
Any parameters, well-known hooks will be not used. |
| CLASS_CONTACT |
Contact parameters. |
| CLASS_URI |
URI parameters. |
| CLASS_EVENT_DIALOG |
Event dialog parameters. |
Definition at line 79 of file parse_param.h.
| enum ptype |
Definition at line 51 of file parse_param.h.
| int parse_param | ( | str * | _s, | |
| pclass_t | _c, | |||
| param_hooks_t * | _h, | |||
| param_t * | t | |||
| ) | [inline] |
Definition at line 442 of file parse_param.c.
References param::body, param::len, _str::len, param::name, parse_param_body(), parse_param_name(), and _str::s.
Referenced by parse_params().


| int parse_params | ( | str * | _s, | |
| pclass_t | _c, | |||
| param_hooks_t * | _h, | |||
| param_t ** | _p | |||
| ) |
| _s | is string containing parameters | |
| _c | is class of parameters | |
| _h | is pointer to structure that will be filled with pointer to well known parameters linked list of parsed parameters will be stored in the variable _p is pointing to |
| _s | is string containing parameters, it will be updated to point behind the parameters | |
| _c | is class of parameters | |
| _h | is pointer to structure that will be filled with pointer to well known parameters | |
| _p | pointing to linked list where parsed parameters will be stored |
Definition at line 514 of file parse_param.c.
References free_params(), param::next, parse_param(), and _str::s.
Referenced by build_path_vector(), dbcl_cls_set_connections(), do_parse_rr_body(), get_boundary_param(), path_rr_callback(), tr_eval_paramlist(), and tr_eval_uri().


1.7.1