Browse code

path: converted to the new module interface

Mikko Lehto authored on 27/09/2018 14:51:49 • Victor Seva committed on 28/09/2018 11:03:26
Showing 2 changed files
... ...
@@ -9,6 +9,4 @@ auto_gen=
9 9
 NAME=path.so
10 10
 LIBS=
11 11
 
12
-DEFS+=-DKAMAILIO_MOD_INTERFACE
13
-
14 12
 include ../../Makefile.modules
... ...
@@ -119,18 +119,16 @@ static param_export_t params[] = {
119 119
  * Module interface
120 120
  */
121 121
 struct module_exports exports = {
122
-	"path",
122
+	"path",          /* module name */
123 123
 	DEFAULT_DLFLAGS, /* dlopen flags */
124
-	cmds,       /* Exported functions */
125
-	params,     /* Exported parameters */
126
-	0,          /* exported statistics */
127
-	0,          /* exported MI functions */
128
-	0,          /* exported pseudo-variables */
129
-	0,          /* extra processes */
130
-	mod_init,   /* module initialization function */
131
-	0,          /* response function */
132
-	0,    /* destroy function */
133
-	0           /* child initialization function */
124
+	cmds,            /* Exported functions */
125
+	params,          /* Exported parameters */
126
+	0,               /* RPC method exports */
127
+	0,               /* exported pseudo-variables */
128
+	0,               /* response function */
129
+	mod_init,        /* module initialization function */
130
+	0,               /* child initialization function */
131
+	0                /* destroy function */
134 132
 };
135 133
 
136 134