Skip to content

Commit

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

DEFS+=-DKAMAILIO_MOD_INTERFACE

SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
include ../../Makefile.modules
14 changes: 4 additions & 10 deletions src/modules/msilo/msilo.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,18 +239,12 @@ struct module_exports exports= {
DEFAULT_DLFLAGS, /* dlopen flags */
cmds, /* module's exported functions */
params, /* module's exported parameters */
#ifdef STATISTICS
msilo_stats,
#else
0, /* exported statistics */
#endif
0, /* exported MI functions */
0, /* exported RPC methods */
0, /* exported pseudo-variables */
0, /* extra processes */
mod_init, /* module initialization function */
0, /* response handler */
(destroy_function) destroy, /* module destroy function */
child_init /* per-child init function */
mod_init, /* module initialization function */
child_init, /* per-child init function */
destroy /* module destroy function */
};

static int bind_msilo(msilo_api_t* api)
Expand Down

0 comments on commit 671c4e3

Please sign in to comment.