MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / bind_auth

Function bind_auth

modules/auth/api.c:540–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540int bind_auth(auth_api_t* api)
541{
542 if (!api) {
543 LM_ERR("invalid parameter value\n");
544 return -1;
545 }
546
547 api->pre_auth = pre_auth;
548 api->post_auth = post_auth;
549 api->calc_HA1 = auth_calc_HA1;
550 api->check_response = check_response;
551 api->build_auth_hf = build_auth_hf;
552 api->build_auth_info_hf = build_auth_info_hf;
553 api->send_resp = send_resp;
554
555 get_rpid_avp( &api->rpid_avp, &api->rpid_avp_type );
556
557 return 0;
558}

Callers 5

mod_initFunction · 0.85
mod_initFunction · 0.85
mod_initFunction · 0.85
ospInitModFunction · 0.85
mod_initFunction · 0.85

Calls 1

get_rpid_avpFunction · 0.85

Tested by

no test coverage detected