#include <stdio.h>#include <stdlib.h>#include <string.h>#include "../../sr_module.h"#include "../../error.h"#include "../../dprint.h"#include "../../config.h"#include "../../pvar.h"#include "../../radius.h"#include "../../mem/mem.h"#include "authrad_mod.h"#include "authorize.h"#include "extra.h"

Go to the source code of this file.
Functions | |
| static int | auth_fixup (void **param, int param_no) |
| static int | mod_init (void) |
Variables | |
| MODULE_VERSION struct attr | attrs [A_MAX+MAX_EXTRA] |
| auth_api_t | auth_api |
| struct extra_attr * | auth_extra = 0 |
| static char * | auth_extra_str = 0 |
| static cmd_export_t | cmds [] |
| struct module_exports | exports |
| static param_export_t | params [] |
| static char * | radius_config = DEFAULT_RADIUSCLIENT_CONF |
| void * | rh |
| static int | service_type = -1 |
| int | use_ruri_flag = -1 |
| struct val | vals [V_MAX+MAX_EXTRA] |
| static int auth_fixup | ( | void ** | param, | |
| int | param_no | |||
| ) | [static] |
Definition at line 196 of file authrad_mod.c.
References E_OUT_OF_MEM, _str::len, LM_ERR, pkg_free, pkg_malloc, pv_parse_format(), pv_parse_spec(), PVT_NULL, _str::s, s, and _pv_spec::type.
| static int mod_init | ( | void | ) | [static] |
Definition at line 120 of file authrad_mod.c.
References A_CISCO_AVPAIR, A_DIGEST_ALGORITHM, A_DIGEST_BODY_DIGEST, A_DIGEST_CNONCE, A_DIGEST_METHOD, A_DIGEST_NONCE, A_DIGEST_NONCE_COUNT, A_DIGEST_QOP, A_DIGEST_REALM, A_DIGEST_RESPONSE, A_DIGEST_URI, A_DIGEST_USER_NAME, A_MAX, A_SERVICE_TYPE, A_SIP_AVP, A_SIP_URI_USER, A_USER_NAME, attrs, auth_extra_str, bind_auth(), extra2attrs(), find_export(), INIT_AV, init_extra_engine(), LM_DBG, LM_ERR, val::n, attr::n, NULL, parse_extra_str(), radius_config, rh, service_type, val::v, V_MAX, V_SIP_SESSION, and vals.
Definition at line 51 of file authrad_mod.c.
Referenced by add_cisco_vsa(), build_rule(), dp_translate_f(), generate_avps(), mi_translate(), mod_init(), radius_authorize_sterman(), verify_destination(), and verify_source().
Definition at line 55 of file authrad_mod.c.
| struct extra_attr* auth_extra = 0 |
char* auth_extra_str = 0 [static] |
cmd_export_t cmds[] [static] |
Definition at line 75 of file authrad_mod.c.
| struct module_exports exports |
Definition at line 101 of file authrad_mod.c.
param_export_t params[] [static] |
Definition at line 89 of file authrad_mod.c.
char* radius_config = DEFAULT_RADIUSCLIENT_CONF [static] |
| void* rh |
Definition at line 53 of file authrad_mod.c.
Referenced by add_cisco_vsa(), mod_init(), radius_authorize_sterman(), radius_does_uri_user_exist(), radius_does_uri_user_host_exist(), radius_is_user_in(), radius_load_callee_avps(), radius_load_caller_avps(), verify_destination(), and verify_source().
int service_type = -1 [static] |
| int use_ruri_flag = -1 |
Definition at line 52 of file authrad_mod.c.
Referenced by allow_trusted(), check_rule(), check_username(), db_delete_ucontact(), db_delete_urecord(), db_insert_ucontact(), db_load_urecord(), db_timer_udomain(), does_uri_exist(), get_ha1(), get_user_script(), is_domain_local(), is_user_in(), load_user_carrier(), mod_init(), radius_authorize_sterman(), reload_domain_table(), rmv_from_db(), verify_destination(), verify_source(), write_to_db(), and xj_worker_process().
1.5.6