dp_db.h File Reference

#include "../../str.h"
#include "../../db/db.h"

Include dependency graph for dp_db.h:

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

Go to the source code of this file.

Defines

#define _DP_DB_H
#define ATTRS_COL   "attrs"
#define DP_TABLE_COL_NO   8
#define DP_TABLE_NAME   "dialplan"
#define DP_TABLE_VERSION   1
#define DPID_COL   "dpid"
#define MATCH_EXP_COL   "match_exp"
#define MATCH_LEN_COL   "match_len"
#define MATCH_OP_COL   "match_op"
#define PR_COL   "pr"
#define REPL_EXP_COL   "repl_exp"
#define SUBST_EXP_COL   "subst_exp"

Functions

int dp_connect_db ()
void dp_disconnect_db ()
int init_db_data ()

Variables

str attrs_column
str dp_db_url
str dp_table_name
str dpid_column
str match_exp_column
str match_len_column
str match_op_column
str pr_column
str repl_exp_column
str subst_exp_column


Define Documentation

#define _DP_DB_H

Definition at line 28 of file dp_db.h.

#define ATTRS_COL   "attrs"

Definition at line 41 of file dp_db.h.

#define DP_TABLE_COL_NO   8

Definition at line 45 of file dp_db.h.

Referenced by dp_load_db().

#define DP_TABLE_NAME   "dialplan"

Definition at line 33 of file dp_db.h.

#define DP_TABLE_VERSION   1

Definition at line 44 of file dp_db.h.

Referenced by init_db_data().

#define DPID_COL   "dpid"

Definition at line 34 of file dp_db.h.

#define MATCH_EXP_COL   "match_exp"

Definition at line 37 of file dp_db.h.

#define MATCH_LEN_COL   "match_len"

Definition at line 38 of file dp_db.h.

#define MATCH_OP_COL   "match_op"

Definition at line 36 of file dp_db.h.

#define PR_COL   "pr"

Definition at line 35 of file dp_db.h.

#define REPL_EXP_COL   "repl_exp"

Definition at line 40 of file dp_db.h.

#define SUBST_EXP_COL   "subst_exp"

Definition at line 39 of file dp_db.h.


Function Documentation

int dp_connect_db (  ) 

Definition at line 112 of file dp_db.c.

References db_func::init, LM_CRIT, and LM_ERR.

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

void dp_disconnect_db (  ) 

Definition at line 128 of file dp_db.c.

References db_func::close.

Referenced by init_db_data(), and mod_destroy().

int init_db_data (  ) 


Variable Documentation

Definition at line 47 of file dp_db.c.

Referenced by mod_init().

Definition at line 38 of file dp_db.c.

Referenced by mod_init().

Definition at line 39 of file dp_db.c.

Referenced by mod_init().

Definition at line 40 of file dp_db.c.

Referenced by mod_init().

Definition at line 43 of file dp_db.c.

Referenced by mod_init().

Definition at line 44 of file dp_db.c.

Referenced by mod_init().

Definition at line 42 of file dp_db.c.

Referenced by mod_init().

Definition at line 41 of file dp_db.c.

Referenced by mod_init().

Definition at line 46 of file dp_db.c.

Referenced by mod_init().

Definition at line 45 of file dp_db.c.

Referenced by mod_init().


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