siputils/checks.c File Reference

#include <string.h>
#include "../../str.h"
#include "../../dprint.h"
#include "../../mem/mem.h"
#include "../../parser/digest/digest.h"
#include "../../parser/parse_from.h"
#include "../../parser/parse_uri.h"
#include "../../parser/parse_param.h"
#include "../../ut.h"
#include "../../db/db.h"
#include "../../dset.h"
#include "../../pvar.h"
#include "checks.h"

Include dependency graph for siputils/checks.c:

Go to the source code of this file.

Functions

int add_uri_param (struct sip_msg *_msg, char *_param, char *_s2)
static int e164_check (str *_user)
int has_totag (struct sip_msg *_m, char *_foo, char *_bar)
int is_uri_user_e164 (struct sip_msg *_m, char *_sp, char *_s2)
int is_user (struct sip_msg *_m, char *_user, char *_str2)
int tel2sip (struct sip_msg *_msg, char *_s1, char *_s2)
int uri_param_1 (struct sip_msg *_msg, char *_param, char *_str2)
int uri_param_2 (struct sip_msg *_msg, char *_param, char *_value)


Function Documentation

int add_uri_param ( struct sip_msg _msg,
char *  _param,
char *  _s2 
)

static int e164_check ( str _user  )  [inline, static]

Definition at line 373 of file siputils/checks.c.

References _str::len, and _str::s.

Referenced by is_uri_user_e164().

int has_totag ( struct sip_msg _m,
char *  _foo,
char *  _bar 
)

Definition at line 50 of file siputils/checks.c.

References get_to, HDR_TO_F, _str::len, LM_DBG, LM_ERR, parse_headers(), _str::s, and sip_msg::to.

int is_uri_user_e164 ( struct sip_msg _m,
char *  _sp,
char *  _s2 
)

int is_user ( struct sip_msg _m,
char *  _user,
char *  _str2 
)

int tel2sip ( struct sip_msg _msg,
char *  _s1,
char *  _s2 
)

int uri_param_1 ( struct sip_msg _msg,
char *  _param,
char *  _str2 
)

Definition at line 118 of file siputils/checks.c.

References uri_param_2().

int uri_param_2 ( struct sip_msg _msg,
char *  _param,
char *  _value 
)


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