#include "../../qvalue.h"#include "../../mem/mem.h"#include "../../socket_info.h"#include "../../usr_avp.h"#include "../../dset.h"#include "../../parser/msg_parser.h"#include "../../ut.h"#include "config.h"#include "t_funcs.h"#include "t_lookup.h"

Go to the source code of this file.
Data Structures | |
| struct | contact |
Defines | |
| #define | Q_FLAG (1<<2) |
Functions | |
| static int | decode_branch_info (char *info, str *uri, str *dst, str *path, struct socket_info **sock, unsigned int *flags) |
| static int | encode_branch_info (str *info, struct contact *con) |
| static void | free_contact_list (struct contact *curr) |
| int | t_load_contacts (struct sip_msg *msg, char *key, char *value) |
| int | t_next_contacts (struct sip_msg *msg, char *key, char *value) |
Variables | |
| int | fr_inv_timer_next = INV_FR_TIME_OUT_NEXT |
| #define Q_FLAG (1<<2) |
Definition at line 39 of file t_serial.c.
| static int decode_branch_info | ( | char * | info, | |
| str * | uri, | |||
| str * | dst, | |||
| str * | path, | |||
| struct socket_info ** | sock, | |||
| unsigned int * | flags | |||
| ) | [inline, static] |
Definition at line 109 of file t_serial.c.
References grep_sock_info(), _str::len, LM_ERR, parse_phostport(), port, _str::s, s, and str2int().
Referenced by t_next_contacts().
Definition at line 69 of file t_serial.c.
References append_chr, append_str, contact::dst_uri, contact::flags, int2str(), INT2STR_MAX_LEN, _str::len, len, LM_ERR, MAX_SOCKET_STR, contact::path, pkg_malloc, _str::s, s, contact::sock, socket2str(), and contact::uri.
Referenced by t_load_contacts().
| static void free_contact_list | ( | struct contact * | curr | ) | [inline, static] |
Definition at line 59 of file t_serial.c.
References contact::next, and pkg_free.
Referenced by t_load_contacts().
| int t_load_contacts | ( | struct sip_msg * | msg, | |
| char * | key, | |||
| char * | value | |||
| ) |
Definition at line 186 of file t_serial.c.
References add_avp(), AVP_VAL_STR, clear_branches(), contacts_avp, contacts_avp_type, sip_msg::dst_uri, contact::dst_uri, encode_branch_info(), contact::flags, sip_msg::force_send_socket, free_contact_list(), get_branch(), GET_RURI, get_ruri_q(), get_t(), getb0flags(), _str::len, LM_DBG, LM_ERR, int_str::n, contact::next, nr_branches, contact::path, sip_msg::path_vec, pkg_free, pkg_malloc, contact::q, Q_FLAG, contact::q_flag, int_str::s, _str::s, contact::sock, sock, T_UNDEFINED, and contact::uri.
| int t_next_contacts | ( | struct sip_msg * | msg, | |
| char * | key, | |||
| char * | value | |||
| ) |
Definition at line 363 of file t_serial.c.
References add_avp(), append_branch(), contacts_avp, contacts_avp_type, decode_branch_info(), destroy_avp(), FAILURE_ROUTE, usr_avp::flags, sip_msg::force_send_socket, fr_inv_timer_avp, fr_inv_timer_avp_type, FR_INV_TIMER_LIST, fr_inv_timer_next, get_t(), _str::len, LM_CRIT, LM_DBG, LM_ERR, int_str::n, Q_FLAG, rewrite_uri(), route_type, _str::s, int_str::s, search_first_avp(), search_next_avp(), set_dst_uri(), set_path_vector(), setb0flags(), sock, T_UNDEFINED, and timer_id2timeout.
| int fr_inv_timer_next = INV_FR_TIME_OUT_NEXT |
1.5.6