[SR-Dev] git:janakj/bdb: Various functions prefixed with km_ to avoid conflicts.

Jan Janak jan at iptel.org
Thu Feb 19 15:06:00 CET 2009


Module: sip-router
Branch: janakj/bdb
Commit: c876c13f77d68e28117509160cd61944704800a4
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c876c13f77d68e28117509160cd61944704800a4

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Thu Feb 19 14:17:11 2009 +0100

Various functions prefixed with km_ to avoid conflicts.

There are many non-static functions in km_* files which need to be
renamed to avoid conflicts with functions with the same name in
other source files (originating from ser). The list of functions
prefixed with km_:

bdblib_close, bdblib_destroy, bdblib_close, bdblib_reopen,
bdblib_create_dbenv, bdblib_recover, bdblib_get_db,
bdblib_is_database, bdblib_get_table, bdblib_log,
bdblib_create_journal, bdblib_create_table, load_metadata_columns,
load_metadata_defaults, load_metadata_keys, load_metadata_readonly,
load_metadata_logflags, bdblib_valtochar, bdb_val2str, bdb_time2str,
bdblib_init, bdb_query

---

 modules/db_berkeley/km_bdb_lib.c     |   78 +++++++++++++++++-----------------
 modules/db_berkeley/km_bdb_lib.h     |   34 +++++++-------
 modules/db_berkeley/km_bdb_util.c    |    2 +-
 modules/db_berkeley/km_bdb_util.h    |    2 +-
 modules/db_berkeley/km_bdb_val.c     |    6 +-
 modules/db_berkeley/km_bdb_val.h     |    2 +-
 modules/db_berkeley/km_db_berkeley.c |   58 +++++++++++++-------------
 modules/db_berkeley/km_db_berkeley.h |    4 +-
 8 files changed, 93 insertions(+), 93 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=c876c13f77d68e28117509160cd61944704800a4



More information about the sr-dev mailing list