Browse code

ims_qos: converted to the new module interface

Federico Cabiddu authored on 28/09/2018 08:05:06 • Victor Seva committed on 28/09/2018 11:03:26
Showing 2 changed files
... ...
@@ -8,8 +8,6 @@ auto_gen=
8 8
 NAME=ims_qos.so
9 9
 LIBS=
10 10
 
11
-DEFS+=-DKAMAILIO_MOD_INTERFACE
12
-
13 11
 SERLIBPATH=../../lib
14 12
 SER_LIBS+=$(SERLIBPATH)/ims/kamailio_ims
15 13
 
... ...
@@ -213,14 +213,18 @@ static param_export_t params[] = {
213 213
 
214 214
 
215 215
 /** module exports */
216
-struct module_exports exports = {"ims_qos", DEFAULT_DLFLAGS, /* dlopen flags */
217
-		cmds, /* Exported functions */
218
-		params, 0, /* exported statistics */
219
-		0, /* exported MI functions */
220
-		0, /* exported pseudo-variables */
221
-		0, /* extra processes */
222
-		mod_init, /* module initialization function */
223
-		0, mod_destroy, mod_child_init /* per-child init function */};
216
+struct module_exports exports = {
217
+	"ims_qos", 
218
+	DEFAULT_DLFLAGS, /* dlopen flags */
219
+	cmds, 		 /* Exported functions */
220
+	params, 
221
+	0, 		 /* exported RPC methods */
222
+	0, 		 /* exported pseudo-variables */
223
+	0, 		 /* response handling function */
224
+	mod_init, 	 /* module initialization function */
225
+	mod_child_init,	 /* per-child init function */
226
+	mod_destroy
227
+};
224 228
 
225 229
 /**
226 230
  * init module function