Module: kamailio
Branch: master
Commit: f831022383c70398ace8ea614f79ad88755f6182
URL:
https://github.com/kamailio/kamailio/commit/f831022383c70398ace8ea614f79ad8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-01-02T20:58:23+01:00
ims_usrloc_pcscf: removed empty mi structure
---
Modified: src/modules/ims_usrloc_pcscf/Makefile
Modified: src/modules/ims_usrloc_pcscf/ul_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f831022383c70398ace8ea614f79ad8…
Patch:
https://github.com/kamailio/kamailio/commit/f831022383c70398ace8ea614f79ad8…
---
diff --git a/src/modules/ims_usrloc_pcscf/Makefile
b/src/modules/ims_usrloc_pcscf/Makefile
index f8e2fe2..0c156de 100644
--- a/src/modules/ims_usrloc_pcscf/Makefile
+++ b/src/modules/ims_usrloc_pcscf/Makefile
@@ -11,6 +11,5 @@ NAME=ims_usrloc_pcscf.so
DEFS+=-DOPENSER_MOD_INTERFACE
SERLIBPATH=../../lib
-SER_LIBS+=$(SERLIBPATH)/kmi/kmi
SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
include ../../Makefile.modules
diff --git a/src/modules/ims_usrloc_pcscf/ul_mod.c
b/src/modules/ims_usrloc_pcscf/ul_mod.c
index 0052f01..39c7b95 100644
--- a/src/modules/ims_usrloc_pcscf/ul_mod.c
+++ b/src/modules/ims_usrloc_pcscf/ul_mod.c
@@ -1,25 +1,23 @@
/*
- * $Id$
- *
* Copyright (C) 2012 Smile Communications, jason.penton(a)smilecoms.com
* Copyright (C) 2012 Smile Communications, richard.good(a)smilecoms.com
- *
+ *
* The initial version of this code was written by Dragos Vingarzan
* (dragos(dot)vingarzan(at)fokus(dot)fraunhofer(dot)de and the
* Fruanhofer Institute. It was and still is maintained in a separate
* branch of the original SER. We are therefore migrating it to
* Kamailio/SR and look forward to maintaining it from here on out.
* 2011/2012 Smile Communications, Pty. Ltd.
- * ported/maintained/improved by
+ * ported/maintained/improved by
* Jason Penton (
jason(dot)penton(at)smilecoms.com and
- * Richard Good (
richard(dot)good(at)smilecoms.com) as part of an
+ * Richard Good (
richard(dot)good(at)smilecoms.com) as part of an
* effort to add full IMS support to Kamailio/SR using a new and
* improved architecture
- *
+ *
* NB: Alot of this code was originally part of OpenIMSCore,
- * FhG Fokus.
+ * FhG Fokus.
* Copyright (C) 2004-2006 FhG Fokus
- * Thanks for great work! This is an effort to
+ * Thanks for great work! This is an effort to
* break apart the various CSCF functions into logically separate
* components. We hope this will drive wider use. We also feel
* that in this way the architecture is more complete and thereby easier
@@ -37,10 +35,10 @@
* 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
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
+ *
*/
#include <stdio.h>
@@ -91,7 +89,7 @@ int hashing_type = 0; /*!< has type for storing P-CSCF contacts
- 0 - use
int match_contact_host_port = 1; /*!< Should we match contact just based on rui
host and port*/
db1_con_t* ul_dbh = 0;
-db_func_t ul_dbf;
+db_func_t ul_dbf;
/*! \brief
* Exported functions
@@ -128,17 +126,13 @@ stat_export_t mod_stats[] = {
{0,0,0}
};
-static mi_export_t mi_cmds[] = {
- { 0, 0, 0, 0, 0}
-};
-
struct module_exports exports = {
"ims_usrloc_pcscf",
DEFAULT_DLFLAGS, /*!< dlopen flags */
cmds, /*!< Exported functions */
params, /*!< Export parameters */
mod_stats, /*!< exported statistics */
- mi_cmds, /*!< exported MI functions */
+ 0, /*!< exported MI functions */
0, /*!< exported pseudo-variables */
0, /*!< extra processes */
mod_init, /*!< Module initialization function */