Module: DB_MYSQL :: the MySQL driver for Kamailio. More...
#include "../../sr_module.h"
#include "../../db/db.h"
#include "dbase.h"
#include "db_mysql.h"
#include <mysql/mysql.h>

Go to the source code of this file.
Functions | |
| MODULE_VERSION int | db_mysql_bind_api (db_func_t *dbb) |
| static int | mysql_mod_init (void) |
Variables | |
| static cmd_export_t | cmds [] |
| MySQL database module interface. | |
| unsigned int | db_mysql_auto_reconnect = 1 |
| unsigned int | db_mysql_ping_interval = 5 * 60 |
| unsigned int | db_mysql_timeout_interval = 2 |
| struct module_exports | exports |
| static param_export_t | params [] |
| Exported parameters. | |
Module: DB_MYSQL :: the MySQL driver for Kamailio.
Definition in file db_mysql.c.
| int db_mysql_bind_api | ( | db_func_t * | dbb | ) |
Definition at line 103 of file db_mysql.c.
References db_func::close, db_insert_update(), db_last_inserted_id(), db_mysql_close(), db_mysql_delete(), db_mysql_fetch_result(), db_mysql_free_result(), db_mysql_init(), db_mysql_insert(), db_mysql_query(), db_mysql_raw_query(), db_mysql_replace(), db_mysql_update(), db_mysql_use_table(), db_func::delete, db_func::fetch_result, db_func::free_result, db_func::init, db_func::insert, db_func::insert_update, db_func::last_inserted_id, NULL, db_func::query, db_func::raw_query, db_func::replace, db_func::update, and db_func::use_table.
| static int mysql_mod_init | ( | void | ) | [static] |
cmd_export_t cmds[] [static] |
Initial value:
{
{"db_bind_api", (cmd_function)db_mysql_bind_api, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0}
}
Definition at line 64 of file db_mysql.c.
| unsigned int db_mysql_auto_reconnect = 1 |
Definition at line 53 of file db_mysql.c.
Referenced by db_mysql_new_connection(), and db_mysql_submit_query().
| unsigned int db_mysql_ping_interval = 5 * 60 |
| unsigned int db_mysql_timeout_interval = 2 |
| struct module_exports exports |
Definition at line 81 of file db_mysql.c.
param_export_t params[] [static] |
1.5.6