Module: sip-router
Branch: janakj/db
Commit: 25700524f8270115f2ffa647b5868d30f768535a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2570052…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)iptel.org>
Date: Fri Nov 21 04:09:48 2008 +0100
SER 2.0 and Kamailio mysql driver intergrated.
This is the integrated version of the mysql db driver
from SER 2.0 and Kamailio. The module supports both API
versions and links with both database libraries.
Currently only compiles, untested.
---
modules/db_mysql/Makefile | 25 +
modules/db_mysql/dbase.c | 535 +++++++++++++
modules/db_mysql/dbase.h | 128 ++++
modules/db_mysql/doc/mysql_parser.dia | Bin 0 -> 2461 bytes
modules/db_mysql/my_cmd.c | 1341 +++++++++++++++++++++++++++++++++
modules/db_mysql/my_cmd.h | 73 ++
modules/db_mysql/my_con.c | 195 +++++
modules/db_mysql/my_con.h | 69 ++
modules/db_mysql/my_con1.c | 131 ++++
modules/db_mysql/my_con1.h | 75 ++
modules/db_mysql/my_fld.c | 65 ++
modules/db_mysql/my_fld.h | 54 ++
modules/db_mysql/my_res.c | 80 ++
modules/db_mysql/my_res.h | 41 +
modules/db_mysql/my_uri.c | 282 +++++++
modules/db_mysql/my_uri.h | 51 ++
modules/db_mysql/mysql_mod.c | 187 +++++
modules/db_mysql/mysql_mod.h | 54 ++
modules/db_mysql/res.c | 215 ++++++
modules/db_mysql/res.h | 48 ++
modules/db_mysql/row.c | 79 ++
modules/db_mysql/row.h | 48 ++
modules/db_mysql/val.c | 265 +++++++
modules/db_mysql/val.h | 51 ++
24 files changed, 4092 insertions(+), 0 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=257…