rd_funcs.c File Reference

#include "../../usr_avp.h"
#include "../../dset.h"
#include "../../dprint.h"
#include "../../qvalue.h"
#include "../../parser/contact/parse_contact.h"
#include "rd_filter.h"
#include "rd_funcs.h"

Include dependency graph for rd_funcs.c:

Go to the source code of this file.

Defines

#define DEFAULT_Q_VALUE   10
#define MAX_CONTACTS_PER_REPLY   16

Functions

int get_redirect (struct sip_msg *msg, int maxt, int maxb, struct acc_param *reason, unsigned int bflags)
static int shmcontact2dset (struct sip_msg *req, struct sip_msg *shrpl, long max, struct acc_param *reason, unsigned int bflags)
static int sort_contacts (contact_t *ct_list, contact_t **ct_array, qvalue_t *q_array)


Define Documentation

#define DEFAULT_Q_VALUE   10

Definition at line 41 of file rd_funcs.c.

Referenced by sort_contacts().

#define MAX_CONTACTS_PER_REPLY   16

Definition at line 40 of file rd_funcs.c.

Referenced by shmcontact2dset(), and sort_contacts().


Function Documentation

int get_redirect ( struct sip_msg msg,
int  maxt,
int  maxb,
struct acc_param reason,
unsigned int  bflags 
)

static int shmcontact2dset ( struct sip_msg req,
struct sip_msg shrpl,
long  max,
struct acc_param reason,
unsigned int  bflags 
) [static]

static int sort_contacts ( contact_t ct_list,
contact_t **  ct_array,
qvalue_t q_array 
) [static]


Generated on Thu May 24 08:01:16 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6