domain.h File Reference

#include "../../parser/msg_parser.h"

Include dependency graph for domain.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int domain_db_bind (const str *db_url)
void domain_db_close (void)
int domain_db_init (const str *db_url)
int domain_db_ver (str *name, int version)
int is_domain_local (str *domain)
int is_from_local (struct sip_msg *_msg, char *_s1, char *_s2)
int is_uri_host_local (struct sip_msg *_msg, char *_s1, char *_s2)
int reload_domain_table (void)
int w_is_domain_local (struct sip_msg *_msg, char *_s1, char *_s2)


Function Documentation

int domain_db_bind ( const str db_url  ) 

Definition at line 48 of file domain.c.

References db_bind_mod(), and LM_ERR.

Referenced by mod_init().

void domain_db_close ( void   ) 

Definition at line 76 of file domain.c.

References db_func::close.

Referenced by mod_init().

int domain_db_init ( const str db_url  ) 

Definition at line 59 of file domain.c.

References db_func::init, and LM_ERR.

Referenced by child_init(), mi_child_init(), and mod_init().

int domain_db_ver ( str name,
int  version 
)

Definition at line 86 of file domain.c.

References db_check_table_version(), and LM_ERR.

Referenced by mod_init().

int is_domain_local ( str domain  ) 

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

Definition at line 148 of file domain.c.

References sip_uri::host, is_domain_local(), LM_ERR, NULL, and parse_from_uri().

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

int reload_domain_table ( void   ) 

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


Generated on Tue May 22 16:00:39 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6