Browse code

ipops: adapt to new module interface

Henning Westerholt authored on 27/09/2018 16:02:28 • Victor Seva committed on 28/09/2018 11:03:26
Showing 2 changed files
... ...
@@ -9,6 +9,5 @@ auto_gen=
9 9
 NAME=ipops.so
10 10
 
11 11
 LIBS=
12
-DEFS+=-DKAMAILIO_MOD_INTERFACE
13 12
 SERLIBPATH=../../lib
14 13
 include ../../Makefile.modules
15 14
\ No newline at end of file
... ...
@@ -174,18 +174,16 @@ static cmd_export_t cmds[] =
174 174
  * Module interface
175 175
  */
176 176
 struct module_exports exports = {
177
-	"ipops",                   /*!< module name */
178
-	DEFAULT_DLFLAGS,           /*!< dlopen flags */
179
-	cmds,                      /*!< exported functions */
180
-	0,                         /*!< exported parameters */
181
-	0,                         /*!< exported statistics */
182
-	0,                         /*!< exported MI functions */
183
-	mod_pvs,                   /*!< exported pseudo-variables */
184
-	0,                         /*!< extra processes */
185
-	mod_init,                  /*!< module initialization function */
186
-	(response_function) 0,     /*!< response handling function */
187
-	0,                         /*!< destroy function */
188
-	0                          /*!< per-child init function */
177
+	"ipops",         /* module name */
178
+	DEFAULT_DLFLAGS, /* dlopen flags */
179
+	cmds,            /* cmd (cfg function) exports */
180
+	0,               /* exported parameters */
181
+	0,               /* RPC method exports */
182
+	mod_pvs,         /* exported pseudo-variables */
183
+	0,               /* response handling function */
184
+	mod_init,        /* module init function */
185
+	0,               /* per-child init function */
186
+	0                /* module destroy function */
189 187
 };
190 188
 
191 189