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


Go to the source code of this file.
Functions | |
| int | consume_credentials (struct sip_msg *_m, char *_s1, char *_s2) |
| Remove used credentials from a SIP message header. | |
| int | proxy_challenge (struct sip_msg *_msg, char *_realm, char *_qop) |
| Challenge a user to send credentials using Proxy-Authorize header field. | |
| int | www_challenge (struct sip_msg *_msg, char *_realm, char *_qop) |
| Challenge a user to send credentials using WWW-Authorize header field. | |
Definition in file challenge.h.
| int consume_credentials | ( | struct sip_msg * | _m, | |
| char * | _s1, | |||
| char * | _s2 | |||
| ) |
Remove used credentials from a SIP message header.
| _m | SIP message | |
| _s1 | unused | |
| _s2 | unused |
Definition at line 269 of file challenge.c.
References sip_msg::authorization, sip_msg::buf, del_lump(), get_authorized_cred(), hdr_field::len, len, LM_ERR, METHOD_ACK, METHOD_CANCEL, hdr_field::name, sip_msg::proxy_auth, and _str::s.
| int proxy_challenge | ( | struct sip_msg * | _msg, | |
| char * | _realm, | |||
| char * | _qop | |||
| ) |
Challenge a user to send credentials using Proxy-Authorize header field.
| _msg | SIP message | |
| _realm | authentification realm | |
| _qop | qop value |
Definition at line 255 of file challenge.c.
References challenge(), MESSAGE_407, and PROXY_AUTH_CHALLENGE.
| int www_challenge | ( | struct sip_msg * | _msg, | |
| char * | _realm, | |||
| char * | _qop | |||
| ) |
Challenge a user to send credentials using WWW-Authorize header field.
| _msg | SIP message | |
| _realm | authentification realm | |
| _qop | qop value |
Challenge a user to send credentials using WWW-Authorize header field
| _msg | SIP message | |
| _realm | authentification realm | |
| _qop | qop value |
Definition at line 234 of file challenge.c.
References challenge(), MESSAGE_401, and WWW_AUTH_CHALLENGE.
1.5.6