Browse code

sdpops: converted to the new module interface

Mikko Lehto authored on 27/09/2018 15:28:40 • Victor Seva committed on 28/09/2018 11:03:26
Showing 2 changed files
... ...
@@ -8,6 +8,4 @@ NAME=sdpops.so
8 8
 DEFS +=
9 9
 LIBS +=
10 10
 
11
-DEFS+=-DKAMAILIO_MOD_INTERFACE
12
-
13 11
 include ../../Makefile.modules
... ...
@@ -140,18 +140,16 @@ static param_export_t params[] = {
140 140
 
141 141
 /** module exports */
142 142
 struct module_exports exports= {
143
-	"sdpops",
143
+	"sdpops",        /* module name */
144 144
 	DEFAULT_DLFLAGS, /* dlopen flags */
145
-	cmds,
146
-	params,
147
-	0,          /* exported statistics */
148
-	0  ,        /* exported MI functions */
149
-	mod_pvs,    /* exported pseudo-variables */
150
-	0,          /* extra processes */
151
-	mod_init,   /* module initialization function */
152
-	0,
153
-	0,
154
-	0           /* per-child init function */
145
+	cmds,            /* cmd exports */
146
+	params,          /* param exports */
147
+	0,               /* RPC method exports */
148
+	mod_pvs,         /* exported pseudo-variables */
149
+	0,               /* response handling function */
150
+	mod_init,        /* module initialization function */
151
+	0,               /* per-child init function */
152
+	0                /* module destroy function */
155 153
 };
156 154
 
157 155
 /**