#include "../../str.h"#include "../../pvar.h"#include "../../parser/msg_parser.h"#include "../../radius.h"


Go to the source code of this file.
Data Structures | |
| struct | extra_attr |
Defines | |
| #define | MAX_EXTRA 4 |
Functions | |
| void | destroy_extras (struct extra_attr *extra) |
| int | extra2attrs (struct extra_attr *extra, struct attr *attrs, int offset) |
| int | extra2strar (struct extra_attr *extra, struct sip_msg *rq, str *val_arr) |
| void | init_extra_engine (void) |
| struct extra_attr * | parse_extra_str (char *extra) |
| #define MAX_EXTRA 4 |
Definition at line 38 of file misc_radius/extra.h.
| void destroy_extras | ( | struct extra_attr * | extra | ) |
| int extra2attrs | ( | struct extra_attr * | extra, | |
| struct attr * | attrs, | |||
| int | offset | |||
| ) |
Definition at line 150 of file auth_radius/extra.c.
References attr::n, and extra_attr::next.
Referenced by mod_init().
| int extra2strar | ( | struct extra_attr * | extra, | |
| struct sip_msg * | rq, | |||
| str * | val_arr | |||
| ) |
Definition at line 165 of file auth_radius/extra.c.
References _pv_value::flags, INT2STR_MAX_LEN, int_buf, _str::len, LM_ERR, LM_WARN, MAX_EXTRA, extra_attr::name, extra_attr::next, pv_get_spec_value(), PV_VAL_INT, PV_VAL_NULL, _pv_value::ri, _pv_value::rs, s, _str::s, extra_attr::spec, and static_detector.
| void init_extra_engine | ( | void | ) |
Definition at line 42 of file auth_radius/extra.c.
References int2str(), and static_detector.
Referenced by mod_init().
| struct extra_attr* parse_extra_str | ( | char * | extra | ) | [read] |
Definition at line 54 of file auth_radius/extra.c.
References destroy_extras(), EQUAL, _str::len, LM_ERR, MAX_EXTRA, extra_attr::name, extra_attr::next, pkg_malloc, pv_parse_spec(), _str::s, s, SEPARATOR, and extra_attr::spec.
Referenced by mod_init().
1.5.6