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 */