[SR-Dev] git:sip-router: Added both SER and Kamailio db apis.
Jan Janak
jan at iptel.org
Fri Nov 21 04:10:18 CET 2008
Module: sip-router
Branch: janakj/db
Commit: 827c32466b157d39fd6f06d9841162a8d0b1ecfa
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=827c32466b157d39fd6f06d9841162a8d0b1ecfa
Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date: Fri Nov 21 04:07:18 2008 +0100
Added both SER and Kamailio db apis.
Both SER 2.0 and Kamailio APIs are added as libraries and
the original DB stuff has been removed. Some data structures
and typedefs were removed (db_con db_res) in order to avoid
conflicts when both libraries are used from one module
---
db/Makefile | 8 -
db/README | 7 -
db/schema/Makefile | 97 ------
db/schema/acc.xml | 464 ----------------------------
db/schema/aliases.xml | 124 --------
db/schema/attr_types.xml | 569 -----------------------------------
db/schema/contact_attrs.xml | 63 ----
db/schema/cpl.xml | 38 ---
db/schema/credentials.xml | 260 ----------------
db/schema/customers.xml | 76 -----
db/schema/domain.xml | 243 ---------------
db/schema/domain_attrs.xml | 211 -------------
db/schema/domain_settings.xml | 114 -------
db/schema/entities.xml | 9 -
db/schema/extra_attrs.xml | 60 ----
db/schema/global_attrs.xml | 270 -----------------
db/schema/grp.xml | 40 ---
db/schema/gw.xml | 64 ----
db/schema/gw_grp.xml | 33 --
db/schema/i18n-cs.xml | 526 --------------------------------
db/schema/i18n-en.xml | 267 ----------------
db/schema/i18n.xml | 54 ----
db/schema/ipmatch.xml | 50 ---
db/schema/lcr.xml | 53 ----
db/schema/location.xml | 158 ----------
db/schema/missed_calls.xml | 452 ---------------------------
db/schema/offline_winfo.xml | 95 ------
db/schema/pdt.xml | 31 --
db/schema/phonebook.xml | 77 -----
db/schema/presentity.xml | 78 -----
db/schema/presentity_contact.xml | 92 ------
db/schema/presentity_extensions.xml | 68 -----
db/schema/presentity_notes.xml | 74 -----
db/schema/rls_subscription.xml | 76 -----
db/schema/rls_vs.xml | 44 ---
db/schema/rls_vs_names.xml | 40 ---
db/schema/sd_attrs.xml | 53 ----
db/schema/ser.xml | 182 -----------
db/schema/silo.xml | 77 -----
db/schema/speed_dial.xml | 65 ----
db/schema/trusted.xml | 39 ---
db/schema/tuple_extensions.xml | 51 ---
db/schema/tuple_notes.xml | 48 ---
db/schema/uri.xml | 128 --------
db/schema/uri_attrs.xml | 78 -----
db/schema/user_attrs.xml | 57 ----
db/schema/watcherinfo.xml | 134 --------
lib/db1/Makefile | 14 +
lib/db1/Makefile.nonser | 12 +
lib/db1/db.c | 419 ++++++++++++++++++++++++++
lib/db1/db.h | 402 +++++++++++++++++++++++++
lib/db1/db_cap.h | 69 +++++
lib/db1/db_con.h | 52 ++++
lib/db1/db_id.c | 291 ++++++++++++++++++
lib/db1/db_id.h | 70 +++++
lib/db1/db_key.h | 43 +++
lib/db1/db_op.h | 53 ++++
lib/db1/db_pool.c | 122 ++++++++
lib/db1/db_pool.h | 83 +++++
lib/db1/db_query.c | 322 ++++++++++++++++++++
lib/db1/db_query.h | 187 ++++++++++++
lib/db1/db_res.c | 164 ++++++++++
lib/db1/db_res.h | 123 ++++++++
lib/db1/db_row.c | 100 ++++++
lib/db1/db_row.h | 66 ++++
lib/db1/db_ut.c | 373 +++++++++++++++++++++++
lib/db1/db_ut.h | 209 +++++++++++++
lib/db1/db_val.h | 168 ++++++++++
lib/db2/Makefile | 14 +
lib/db2/Makefile.nonser | 12 +
{db => lib/db2}/db.c | 12 +-
{db => lib/db2}/db.h | 0
{db => lib/db2}/db_cmd.c | 6 +-
{db => lib/db2}/db_cmd.h | 0
{db => lib/db2}/db_con.c | 4 +-
{db => lib/db2}/db_con.h | 0
{db => lib/db2}/db_ctx.c | 4 +-
{db => lib/db2}/db_ctx.h | 4 +-
{db => lib/db2}/db_drv.c | 6 +-
{db => lib/db2}/db_drv.h | 4 +-
{db => lib/db2}/db_fld.c | 4 +-
{db => lib/db2}/db_fld.h | 2 +-
{db => lib/db2}/db_gen.c | 0
{db => lib/db2}/db_gen.h | 4 +-
{db => lib/db2}/db_pool.c | 2 +-
{db => lib/db2}/db_pool.h | 2 +-
{db => lib/db2}/db_rec.c | 4 +-
{db => lib/db2}/db_rec.h | 0
{db => lib/db2}/db_res.c | 4 +-
{db => lib/db2}/db_res.h | 0
{db => lib/db2}/db_uri.c | 6 +-
{db => lib/db2}/db_uri.h | 2 +-
92 files changed, 3403 insertions(+), 5932 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=827c32466b157d39fd6f06d9841162a8d0b1ecfa
More information about the sr-dev
mailing list