Skip to content

Commit

Permalink
statsc: updated to the new module interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mslehto authored and linuxmaniac committed Sep 28, 2018
1 parent c2f1610 commit 41ba444
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
2 changes: 0 additions & 2 deletions src/modules/statsc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ auto_gen=
NAME=statsc.so
LIBS=

DEFS+=-DKAMAILIO_MOD_INTERFACE

include ../../Makefile.modules
20 changes: 9 additions & 11 deletions src/modules/statsc/statsc_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,16 @@ static param_export_t params[]={
};

struct module_exports exports = {
"statsc",
"statsc", /* module name */
DEFAULT_DLFLAGS, /* dlopen flags */
cmds,
params,
0,
0, /* exported MI functions */
0, /* exported pseudo-variables */
0, /* extra processes */
mod_init, /* module initialization function */
0, /* response function */
mod_destroy, /* destroy function */
child_init /* per child init function */
cmds, /* cmd exports */
params, /* param exports */
0, /* exported RPC methods */
0, /* exported pseudo-variables */
0, /* response function */
mod_init, /* module initialization function */
child_init, /* per child init function */
mod_destroy /* destroy function */
};


Expand Down

0 comments on commit 41ba444

Please sign in to comment.