Ver Fonte

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
Jan Janak há 16 anos atrás
pai
commit
b78bbf2bd8
1 ficheiros alterados com 37 adições e 0 exclusões
  1. 37 0
      modules/db_berkeley/bdb_mod.h

+ 37 - 0
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 */