#include <string.h>#include <stdlib.h>#include "../../mem/mem.h"#include "../../str.h"#include "../../parser/hf.h"#include "../../parser/digest/digest.h"#include "../../parser/parse_uri.h"#include "../../parser/parse_from.h"#include "../../parser/parse_to.h"#include "../../dprint.h"#include "../../ut.h"#include "../../pvar.h"#include "../auth/api.h"#include "authorize.h"#include "sterman.h"#include "authrad_mod.h"

Go to the source code of this file.
Functions | |
| static int | authorize (struct sip_msg *_msg, pv_elem_t *_realm, pv_spec_t *_uri_user, int _hftype) |
| static int | get_uri_user (struct sip_msg *_m, str **_uri_user) |
| int | radius_proxy_authorize_1 (struct sip_msg *_msg, char *_realm, char *_s2) |
| int | radius_proxy_authorize_2 (struct sip_msg *_msg, char *_realm, char *_uri_user) |
| int | radius_www_authorize (struct sip_msg *_msg, char *_realm, char *_s2) |
| static int authorize | ( | struct sip_msg * | _msg, | |
| pv_elem_t * | _realm, | |||
| pv_spec_t * | _uri_user, | |||
| int | _hftype | |||
| ) | [inline, static] |
Definition at line 78 of file auth_radius/authorize.c.
References AUTH_ERROR, auth_body::digest, DO_AUTHORIZATION, domain, sip_msg::first_line, _pv_value::flags, get_uri_user(), _str::len, LM_ERR, NULL, hdr_field::parsed, pkg_free, pkg_malloc, pv_get_spec_value(), pv_printf_s(), PV_VAL_STR, radius_authorize_sterman(), msg_start::request, _pv_value::rs, _str::s, msg_start::u, un_escape(), and user.
Definition at line 52 of file auth_radius/authorize.c.
References _str::len, LM_ERR, sip_uri::method, NULL, parse_from_uri(), parse_to_uri(), REQ_LINE, _str::s, and sip_uri::user.
Referenced by authorize().
| int radius_proxy_authorize_1 | ( | struct sip_msg * | _msg, | |
| char * | _realm, | |||
| char * | _s2 | |||
| ) |
Definition at line 153 of file auth_radius/authorize.c.
References authorize(), and HDR_PROXYAUTH_T.
| int radius_proxy_authorize_2 | ( | struct sip_msg * | _msg, | |
| char * | _realm, | |||
| char * | _uri_user | |||
| ) |
Definition at line 164 of file auth_radius/authorize.c.
References authorize(), and HDR_PROXYAUTH_T.
| int radius_www_authorize | ( | struct sip_msg * | _msg, | |
| char * | _realm, | |||
| char * | _s2 | |||
| ) |
Definition at line 175 of file auth_radius/authorize.c.
References authorize(), and HDR_AUTHORIZATION_T.
1.5.6