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


Go to the source code of this file.
Functions | |
| int | build_contact (ucontact_t *c) |
| Build Contact HF for reply. | |
| void | free_contact_buf (void) |
| Release contact buffer if any. | |
| int | send_reply (struct sip_msg *_m) |
| Send a reply. | |
Definition in file reply.h.
| int build_contact | ( | ucontact_t * | c | ) |
Build Contact HF for reply.
Definition at line 117 of file reply.c.
References act_time, ucontact::c, calc_buf_len(), CONTACT_BEGIN, CONTACT_BEGIN_LEN, CONTACT_SEP, CONTACT_SEP_LEN, CRLF, CRLF_LEN, ucontact::expires, EXPIRES_PARAM, EXPIRES_PARAM_LEN, int2str(), _str::len, len, len_q(), LM_DBG, LM_ERR, ucontact::next, pkg_free, pkg_malloc, ucontact::q, q2str(), Q_PARAM, Q_PARAM_LEN, rcv_param, ucontact::received, _str::s, and VALID_CONTACT.
Referenced by add_contacts(), insert_contacts(), no_contacts(), and star().
| void free_contact_buf | ( | void | ) |
Release contact buffer if any.
Definition at line 440 of file reply.c.
References pkg_free.
Referenced by mod_destroy().
| int send_reply | ( | struct sip_msg * | _m | ) |
Send a reply.
Definition at line 368 of file reply.c.
References add_lump_rpl(), add_path(), add_retry_after(), add_unsupported(), sip_msg::buf, buf, CRLF, CRLF_LEN, E_INFO, E_INFO_LEN, F_SUPPORTED_PATH, get_supported, len, _str::len, LM_ERR, LUMP_RPL_HDR, LUMP_RPL_NODUP, LUMP_RPL_NOFREE, MSG_200, MSG_400, MSG_420, MSG_500, MSG_503, parse_supported(), path_enabled, path_mode, PATH_MODE_OFF, PATH_MODE_STRICT, sip_msg::path_vec, pkg_malloc, R_FINE, R_PATH_UNSUP, rerrno, retry_after, s, _str::s, sl_binds::send_reply, slb, str_init, and SUPPORTED_PATH_STR.
Referenced by load_sl(), save(), and w_send_reply().
1.5.6