qvalue.c File Reference

Functions related to the SIP q value. More...

#include "error.h"
#include "qvalue.h"

Include dependency graph for qvalue.c:

Go to the source code of this file.

Functions

int str2q (qvalue_t *q, char *s, int len)
 Convert string representation of q parameter in qvalue_t.


Detailed Description

Functions related to the SIP q value.

Definition in file qvalue.c.


Function Documentation

int str2q ( qvalue_t q,
char *  s,
int  len 
)

Convert string representation of q parameter in qvalue_t.

Definition at line 38 of file qvalue.c.

References E_INVALID_PARAMS, E_Q_DEC_MISSING, E_Q_EMPTY, E_Q_INV_CHAR, and E_Q_TOO_BIG.

Referenced by calc_contact_q(), mi_usrloc_add(), and sort_contacts().


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