#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"

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 [] |
| int dbt_bind_api | ( | db_func_t * | dbb | ) |
Definition at line 105 of file dbtext.c.
References db_func::close, dbt_close(), dbt_delete(), dbt_free_result(), dbt_init(), dbt_insert(), dbt_query(), dbt_update(), dbt_use_table(), db_func::delete, db_func::free_result, db_func::init, db_func::insert, NULL, db_func::query, db_func::update, and db_func::use_table.
| 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] |
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}
}
| struct module_exports exports |
param_export_t params[] [static] |
1.5.6