Module: sip-router
Branch: janakj/bdb
Commit: c876c13f77d68e28117509160cd61944704800a4
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c876c13…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)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=c87…
Module: sip-router
Branch: janakj/bdb
Commit: b78bbf2bd8a14f7adab1867a47abd4fbd8fbda97
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b78bbf2…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)iptel.org>
Date: Thu Feb 19 14:05:20 2009 +0100
New header file bdb_mod.h with parameters defined in bdb_mod.c
This is file is necessary so that we can access the parameter variables
from km_* files (and remove their equivalents from km_db_berkeley.c
---
modules/db_berkeley/bdb_mod.h | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/modules/db_berkeley/bdb_mod.h b/modules/db_berkeley/bdb_mod.h
new file mode 100644
index 0000000..0623418
--- /dev/null
+++ b/modules/db_berkeley/bdb_mod.h
@@ -0,0 +1,37 @@
+/*
+ * $Id$
+ *
+ * db_berkeley module, portions of this code were templated using
+ * the dbtext and postgres modules.
+
+ * Copyright (C) 2007 Cisco Systems
+ *
+ * This file is part of Kamailio, a free SIP server.
+ *
+ * Kamailio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version
+ *
+ * Kamailio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * History:
+ * --------
+ * 2007-09-19 genesis (wiquan)
+ */
+
+#ifndef _BDB_MOD_H
+#define _BDB_MOD_H
+
+extern int auto_reload;
+extern int log_enable;
+extern int journal_roll_interval;
+
+#endif /* _BDB_MOD_H */
Module: sip-router
Branch: janakj/bdb
Commit: 0e9270182faddc32e606407667de38a46ca61e7b
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0e92701…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Tue Mar 4 13:15:47 2008 +0000
- change module docs FAQ link to a common one in the doc dir
- remove module specific FAQ content from the file in doc, this way no FAQ
content will be created
- credits for the patch/ the change scripts goes to Edson Gellert Schubert,
4lists at gmail dot com
- update all READMEs, for most module docs the FAQ and devel information were
now removed
git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3839 689a6050-402a-0410-94f2-e92a70836424
---
modules/db_berkeley/km_README | 42 ----------------------
modules/db_berkeley/km_doc/db_berkeley.sgml | 4 +--
modules/db_berkeley/km_doc/db_berkeley_user.sgml | 3 +-
3 files changed, 2 insertions(+), 47 deletions(-)
diff --git a/modules/db_berkeley/km_README b/modules/db_berkeley/km_README
index 4cc84b4..441723c 100644
--- a/modules/db_berkeley/km_README
+++ b/modules/db_berkeley/km_README
@@ -41,9 +41,6 @@ Will Quan
1.13. DB Recovery : bdb_recover
1.14. Known Limitations
- 2. Developer's Guide
- 3. Frequently Asked Questions
-
List of Examples
1-1. Set auto_reload parameter
1-2. Set log_enable parameter
@@ -498,42 +495,3 @@ possible
sequence) mechanism. Consequently, this version does not
support surragate keys in dbschema. These are the id columns in
the tables.
- __________________________________________________________
-
-Chapter 2. Developer's Guide
-
- The module does not provide any API to use in other OpenSER
- modules.
- __________________________________________________________
-
-Chapter 3. Frequently Asked Questions
-
- 3.1. Where can I find more about OpenSER?
- 3.2. Where can I post a question about this module?
- 3.3. How can I report a bug?
-
- 3.1. Where can I find more about OpenSER?
-
- Take a look at http://openser.org/.
-
- 3.2. Where can I post a question about this module?
-
- First at all check if your question was already answered on one
- of our mailing lists:
-
- * User Mailing List -
- http://openser.org/cgi-bin/mailman/listinfo/users
- * Developer Mailing List -
- http://openser.org/cgi-bin/mailman/listinfo/devel
-
- E-mails regarding any stable OpenSER release should be sent to
- <users(a)openser.org> and e-mails regarding development versions
- should be sent to <devel(a)openser.org>.
-
- If you want to keep the mail private, send it to
- <team(a)openser.org>.
-
- 3.3. How can I report a bug?
-
- Please follow the guidelines provided at:
- http://sourceforge.net/tracker/?group_id=139143.
diff --git a/modules/db_berkeley/km_doc/db_berkeley.sgml b/modules/db_berkeley/km_doc/db_berkeley.sgml
index 306f0b1..361a322 100644
--- a/modules/db_berkeley/km_doc/db_berkeley.sgml
+++ b/modules/db_berkeley/km_doc/db_berkeley.sgml
@@ -2,8 +2,7 @@
<!ENTITY user SYSTEM "db_berkeley_user.sgml">
-<!ENTITY devel SYSTEM "db_berkeley_devel.sgml">
-<!ENTITY faq SYSTEM "db_berkeley_faq.sgml">
+<!ENTITY faq SYSTEM "../../../doc/module_faq.sgml">
<!-- Include general documentation entities -->
<!ENTITY % docentities SYSTEM "../../../doc/entities.sgml">
@@ -49,7 +48,6 @@
<toc></toc>
&user;
- &devel;
&faq;
</book>
diff --git a/modules/db_berkeley/km_doc/db_berkeley_user.sgml b/modules/db_berkeley/km_doc/db_berkeley_user.sgml
index affdf40..14e6c54 100644
--- a/modules/db_berkeley/km_doc/db_berkeley_user.sgml
+++ b/modules/db_berkeley/km_doc/db_berkeley_user.sgml
@@ -1,8 +1,7 @@
<!-- Module User's Guide -->
<chapter>
- <chapterinfo>
- </chapterinfo>
+
<title>User's Guide</title>
<section>