t_serial.c File Reference

#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"

Include dependency graph for t_serial.c:

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 Documentation

#define Q_FLAG   (1<<2)

Definition at line 39 of file t_serial.c.


Function Documentation

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().

static int encode_branch_info ( str info,
struct contact con 
) [inline, static]

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 
)

int t_next_contacts ( struct sip_msg msg,
char *  key,
char *  value 
)


Variable Documentation

int fr_inv_timer_next = INV_FR_TIME_OUT_NEXT

Definition at line 42 of file t_serial.c.

Referenced by mod_init(), and t_next_contacts().


Generated on Thu May 24 20:00:44 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6