#include <string.h>#include <ctype.h>#include "../../mem/mem.h"#include "../../ut.h"#include "extra.h"

Go to the source code of this file.
Defines | |
| #define | EQUAL '=' |
| #define | SEPARATOR ';' |
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_str) |
Variables | |
| static char | int_buf [INT2STR_MAX_LEN *MAX_EXTRA] |
| static char * | static_detector = 0 |
| #define EQUAL '=' |
Definition at line 32 of file misc_radius/extra.c.
| #define SEPARATOR ';' |
Definition at line 33 of file misc_radius/extra.c.
| 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 | |||
| ) |
Definition at line 165 of file misc_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 | ) |
| struct extra_attr* parse_extra_str | ( | char * | extra_str | ) | [read] |
Definition at line 54 of file misc_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.
char int_buf[INT2STR_MAX_LEN *MAX_EXTRA] [static] |
Definition at line 37 of file misc_radius/extra.c.
char* static_detector = 0 [static] |
Definition at line 38 of file misc_radius/extra.c.
1.5.6