dbtext.c File Reference

#include <stdio.h>
#include <unistd.h>
#include "../../sr_module.h"
#include "../../db/db.h"
#include "dbtext.h"
#include "dbt_lib.h"
#include "dbt_api.h"

Include dependency graph for dbtext.c:

Go to the source code of this file.

Functions

int dbt_bind_api (db_func_t *dbb)
static void destroy (void)
static MODULE_VERSION int mod_init (void)

Variables

static cmd_export_t cmds []
int db_mode = 0
struct module_exports exports
static param_export_t params []


Function Documentation

int dbt_bind_api ( db_func_t dbb  ) 

static void destroy ( void   )  [static]

Definition at line 96 of file dbtext.c.

References dbt_cache_destroy(), dbt_cache_print(), and LM_DBG.

static int mod_init ( void   )  [static]

Definition at line 87 of file dbtext.c.

References dbt_init_cache().


Variable Documentation

cmd_export_t cmds[] [static]

Initial value:

 {
   {"db_bind_api",    (cmd_function)dbt_bind_api,   0, 0, 0, 0},
   {0, 0, 0, 0, 0, 0}
}

Definition at line 56 of file dbtext.c.

int db_mode = 0

Definition at line 49 of file dbtext.c.

Definition at line 71 of file dbtext.c.

param_export_t params[] [static]

Initial value:

 {
   {"db_mode", INT_PARAM, &db_mode},
   {0, 0, 0}
}

Definition at line 65 of file dbtext.c.


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