#include "../../parser/msg_parser.h"


Go to the source code of this file.
Data Structures | |
| struct | uac_credential |
Functions | |
| int | add_credential (unsigned int type, void *val) |
| void | destroy_credentials (void) |
| int | has_credentials (void) |
| int | uac_auth (struct sip_msg *msg) |
| int add_credential | ( | unsigned int | type, | |
| void * | val | |||
| ) |
Definition at line 97 of file auth.c.
References duplicate_str, free_credential(), _str::len, LM_ERR, uac_credential::next, uac_credential::passwd, pkg_free, pkg_malloc, uac_credential::realm, _str::s, and uac_credential::user.
| void destroy_credentials | ( | void | ) |
Definition at line 189 of file auth.c.
References free_credential(), and uac_credential::next.
Referenced by mod_destroy().
| int uac_auth | ( | struct sip_msg * | msg | ) |
Definition at line 371 of file auth.c.
References apply_urihdr_changes(), hdr_field::body, build_authorization_hdr(), do_uac_auth(), FAKED_REPLY, get_autenticate_hdr(), get_avp_credential(), ua_client::last_received, _str::len, LM_CRIT, LM_DBG, LM_ERR, lookup_realm(), parse_authenticate_body(), PVT_AVP, authenticate_body::realm, ua_client::reply, _str::s, tm_binds::t_get_picked, tm_binds::t_gett, T_NULL_CELL, T_UNDEFINED, _pv_spec::type, cell::uac, uac_tmb, and ua_client::uri.
Referenced by w_uac_auth().
1.5.6